sergeyuttsel commented on code in PR #1729:
URL: https://github.com/apache/ignite-3/pull/1729#discussion_r1156779075
##########
modules/distribution-zones/src/main/java/org/apache/ignite/internal/distributionzones/DistributionZoneManager.java:
##########
@@ -163,6 +176,30 @@ public class DistributionZoneManager implements
IgniteComponent {
*/
private final Map<Integer, ZoneState> zonesState;
+ /** Data nodes modification mutex. */
+ private final Object dataNodesMutex = new Object();
+
+ /** The last topology version which was observed by distribution zone
manager. */
+ private long lastTopVer;
Review Comment:
Added initialization. But I have some doubts about the correct
initialization of lastScaleUpRevision/lastScaleDownRevision.
--
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]