denis-chudov commented on code in PR #6651:
URL: https://github.com/apache/ignite-3/pull/6651#discussion_r2411015120


##########
modules/distribution-zones/src/main/java/org/apache/ignite/internal/distributionzones/DataNodesManager.java:
##########
@@ -992,6 +1028,21 @@ private CompletableFuture<DataNodesHistoryContext> 
getDataNodeHistoryContextMsLo
         return completedFuture(dataNodeHistoryContextFromValues(entries));
     }
 
+    private CompletableFuture<DataNodesHistoryContext> 
ensureContextIsPresentAndInitZoneIfNeeded(
+            @Nullable DataNodesHistoryContext context,
+            List<ByteArray> keys,
+            int zoneId
+    ) {
+        if (context == null) {
+            // Probably this is a transition from older version of cluster, 
need to initialize zone according to the
+            // current set of meta storage entries.
+            return initZone(zoneId)

Review Comment:
   No we won't, we only look at legacy data nodes if data nodes history is not 
found.
   However, I added the legacy key removal.



-- 
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]

Reply via email to