Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-16

LeaderSelector does not (auto)requeue on session expired

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-incubating
    • 2.1.0-incubating
    • Recipes
    • None

    Description

      If mutex. acquire() throws a KeeperException.SessionExpiredException in LeaderSelector.doWork(), the exception is not handled in LeaderSelector.doWorkLoop(), causing the loop to terminate even when autoRequeue is true.

      Attachments

        1. CURATOR-16.patch
          2 kB
          Julio Lopez
        2. CURATOR-16-test.patch
          11 kB
          Julio Lopez

        Issue Links

          Activity

            People

              randgalt Jordan Zimmerman
              juliolopez Julio Lopez
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: