-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Monitoring
-
None
-
(copied to CRM)
-
Fully Compatible
-
Not Needed
Currently, {{ClusterDescriptionChangedEvent}}s are published to any registered {{ClusterListener}}s in an undefined order. In particular, it's possible that an event A that was applied to the internally-tracked state after an event B could appear to be publish before (or concurrent with) event B.
This makes it impossible for ClusterListener implementations to use the events to track the current state of the cluster.
The driver should ensure the following properties:
- Event publication is serialized. {{ClusterListener implementations should not have to apply their own synchronization
- Events are published in the order that they were applied to the cluster state
- causes
-
JAVA-5185 Fix the ClusterListener, ServerListener, ServerMonitorListener API docs relevant to thread-safety
- Closed