[hibernate-issues] [Hibernate-JIRA] Resolved: (HSEARCH-532) FSSlaveDirectoryProvider could retry several times when the current marker file is not found

Emmanuel Bernard (JIRA) noreply at atlassian.com
Sat Nov 6 13:28:13 EDT 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard resolved HSEARCH-532.
--------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 3.3.0)
                   3.3.0.CR1

People can define a retry_marker_lookup property
{code}hibernate.search.default.retry_marker_lookup 2{code}
We retry every 5 seconds

> FSSlaveDirectoryProvider could retry several times when the current marker file is not found
> --------------------------------------------------------------------------------------------
>
>                 Key: HSEARCH-532
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-532
>             Project: Hibernate Search
>          Issue Type: Bug
>          Components: directory provider
>    Affects Versions: 3.1.1.GA, 3.2.0.Beta1, 3.2.0.CR1, 3.2.0.Final
>            Reporter: Hardy Ferentschik
>             Fix For: 3.3.0.CR1
>
>
> The {{FSMasterDirectoryProvider}} has a hole in the startup procedure where it is possible for the {{FSSlaveDirectoryProvider}} to not being able to find the current marker file. At the moment the startup for the slave will fail in this case. We could let the {{FSSlaveDirectoryProvider}} retry for a couple of times to allow the master to create the marker file.
> This problem can also occur during runtime, but there the {{FSSlaveDirectoryProvider}} just skips a sync. However, we log this as error. Probably should just be a warning.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list