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

discovery: registration of wrong/old service instance on RECONNECT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 2.3.0, 2.4.0, 2.4.1, 2.4.2, 2.5.0, 2.6.0
    • None
    • Recipes

    Description

      ServiceDiscoveryImpl.registerService() remembers service registrations in a map. However updateService() does not update the map.
      This causes a wrong registration in the case of a RECONNECT - e.g. reRegisterServices() called by the ConnectionStateListener registers the old ServiceInstance instead of the updated one.

      Attachments

        1. curator.patch
          0.9 kB
          Kamen Petroff

        Issue Links

          Activity

            People

              Unassigned Unassigned
              petroff Kamen Petroff
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1m
                  1m
                  Remaining:
                  Remaining Estimate - 1m
                  1m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified