Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-532

FSSlaveDirectoryProvider could retry several times when the current marker file is not found

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1.GA, 3.2.0.Beta1, 3.2.0.CR1, 3.2.0.Final
    • Fix Version/s: 3.3.0.CR1
    • Component/s: directory provider
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hardy.ferentschik Hardy Ferentschik
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: