NSAmelchev commented on code in PR #10286:
URL: https://github.com/apache/ignite/pull/10286#discussion_r1012371645
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotHandlerContext.java:
##########
@@ -38,17 +38,24 @@ public class SnapshotHandlerContext {
/** Local node. */
private final ClusterNode locNode;
+ /** Warning flag of concurrent inconsistent-by-nature streamer updates. */
+ private final boolean streamerWrn;
+
/**
* @param metadata Snapshot metadata.
* @param grps The names of the cache groups on which the operation is
performed.
+ * @param streamerWrn {@code True} if concurrent streaming updates occured
during snapshot operation.
+ * {@code False} otherwise. Always {@code false} for snapshot restoration.
* @param locNode Local node.
* @param snpDir The full path to the snapshot files.
*/
- public SnapshotHandlerContext(SnapshotMetadata metadata, @Nullable
Collection<String> grps, ClusterNode locNode, File snpDir) {
+ public SnapshotHandlerContext(SnapshotMetadata metadata, @Nullable
Collection<String> grps,
+ boolean streamerWrn, ClusterNode locNode, File snpDir) {
Review Comment:
Lets make `streamerWrn` parameter last.
--
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]