himanshukandwal commented on code in PR #2739:
URL: https://github.com/apache/helix/pull/2739#discussion_r1456438271
##########
helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/AssignmentMetadataStore.java:
##########
@@ -52,6 +52,7 @@ public class AssignmentMetadataStore {
protected volatile Map<String, ResourceAssignment> _globalBaseline;
protected volatile Map<String, ResourceAssignment> _bestPossibleAssignment;
protected volatile int _bestPossibleVersion = 0;
+ protected volatile int _lastPersistedBestPossibleVersion = 0;
Review Comment:
Can we initialize these two variables with the ZK state i.e. path:
```/ASSIGNMENT_METADATA/BEST_POSSIBLE/LAST_SUCCESSFUL_WRITE```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]