Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1437

Entity Ownership Service: ownership gets assigned even after candidate registration is closed.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Lithium
    • None
    • clustering
    • None
    • Operating System: All
      Platform: All

    • 4554

    Description

      This happens when multiple candidates of an entity close their registration at the same time.

      The EntityOwnershipListener gets notified with EntityOwnershipChange

      {wasOwner=false, isOwner=true, hasOwner=true}

      even after the registration for this candidate has been closed.

      The listener never gets notified with

      {true, false, false}

      later.

      I was able to reproduce this repeatedly with OF Clustering as it uses EOS.

      Logs statements are attached.

      In the log, 3 candidates close their registration at the same time (check timestamps).

      From the listener Candidate2 gets assigned ownership (i guess intermittently).

      But we are notified when it loses its ownership (if at all)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            moraja@cisco.com Moiz Raja
            kramesha@cisco.com Kamal Rameshan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: