sashapolo commented on code in PR #5588:
URL: https://github.com/apache/ignite-3/pull/5588#discussion_r2041633545


##########
modules/partition-replicator/src/main/java/org/apache/ignite/internal/partition/replicator/raft/snapshot/incoming/IncomingSnapshotCopier.java:
##########
@@ -569,6 +569,13 @@ private String createPartitionInfo() {
     private void writeVersion(SnapshotContext snapshotContext, ResponseEntry 
entry, int entryIndex) {
         PartitionMvStorageAccess partition = 
snapshotContext.partitionsByTableId.get(entry.tableId());
 
+        if (partition == null) {
+            // Table might have been removed locally which is a normal 
situation, we log it just in case.
+            LOG.warn("No partition storage found locally for tableId={} while 
installing a snapshot", entry.tableId());

Review Comment:
   Good idea!



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