rpuch commented on code in PR #1246:
URL: https://github.com/apache/ignite-3/pull/1246#discussion_r1007782139


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/raft/snapshot/outgoing/OutgoingSnapshotsManager.java:
##########
@@ -103,17 +103,17 @@ public void stop() throws Exception {
     }
 
     /**
-     * Registers an outgoing snapshot in the manager.
+     * Starts an outgoing snapshot and registers it in the manager. This is 
the point where snapshot is 'taken',
+     * that is, the immutable scope of the snapshot (what MV data and what TX 
data belongs to it) is cut.
      *
      * @param snapshotId       Snapshot id.
      * @param outgoingSnapshot Outgoing snapshot.
      */
-    @Override
-    public void registerOutgoingSnapshot(UUID snapshotId, OutgoingSnapshot 
outgoingSnapshot) {
+    void startOutgoingSnapshot(UUID snapshotId, OutgoingSnapshot 
outgoingSnapshot) {
         snapshots.put(snapshotId, outgoingSnapshot);
 
         PartitionSnapshotsImpl partitionSnapshots = 
getPartitionSnapshots(outgoingSnapshot.partitionKey());

Review Comment:
   Oh, sorry, I misunderstood you. Yes, we need access to 
`PartitionSnapshotsImpl` internals here



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