Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
Lithium
-
None
-
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)