Vladsz83 commented on code in PR #11391:
URL: https://github.com/apache/ignite/pull/11391#discussion_r1718542990
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotChecker.java:
##########
@@ -536,19 +628,138 @@ private boolean hasExpiringEntries(
return rootIO.getCount(pageAddr) != 0;
}
+ /** Launches local partitions checking and waits for the result, handles
execution exceptions. */
+ public Map<PartitionKeyV2, PartitionHashRecordV2> checkPartitionsResult(
+ SnapshotMetadata meta,
+ File snpDir,
+ @Nullable Collection<String> groups,
+ boolean forCreation,
+ boolean checkParts,
+ boolean skipPartsHashes
+ ) {
+ try {
+ return checkPartitions(meta, snpDir, groups, forCreation,
checkParts, skipPartsHashes).get();
Review Comment:
We have no any timeout on snapshot validation. User cannot define it. Even
can't cancel yet. There is no any value to pass.
--
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]