alievmirza commented on code in PR #4905:
URL: https://github.com/apache/ignite-3/pull/4905#discussion_r1896725159


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/disaster/GroupUpdateRequest.java:
##########
@@ -337,7 +336,43 @@ private static CompletableFuture<Integer> partitionUpdate(
                         : Assignments.toBytes(partAssignments, 
assignmentsTimestamp)
         );
 
-        return 
metaStorageMgr.invoke(invokeClosure).thenApply(StatementResult::getAsInt);
+        return metaStorageMgr.invoke(invokeClosure).thenApply(sr -> {
+            switch (UpdateStatus.valueOf(sr.getAsInt())) {
+                case PENDING_KEY_UPDATED:
+                    LOG.info(
+                            "Force update metastore pending partitions key 
[key={}, partition={}, table={}, newVal={}]",
+                            pendingChangeTriggerKey(partId).toString(),
+                            partId.partitionId(),
+                            partId.tableId(),
+                            nextAssignment
+                    );
+
+                    break;
+                case ASSIGNMENT_NOT_UPDATED:

Review Comment:
   removed



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to