nizhikov commented on code in PR #11040:
URL: https://github.com/apache/ignite/pull/11040#discussion_r1393979763
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotPartitionsVerifyHandler.java:
##########
@@ -143,7 +144,10 @@ public
SnapshotPartitionsVerifyHandler(GridCacheSharedContext<?, ?> cctx) {
Set<Integer> parts = meta.partitions().get(grpId) == null ?
Collections.emptySet() :
new HashSet<>(meta.partitions().get(grpId));
- for (File part : cachePartitionFiles(dir, meta.dump() ?
DUMP_FILE_EXT : FILE_SUFFIX)) {
+ for (File part : meta.dump()
+ ? cachePartitionFiles(dir, new String[] {DUMP_FILE_EXT,
DUMP_FILE_EXT + ZIP_SUFFIX})
Review Comment:
Let's pass `compress` flag to this check and be sure what file extension we
expect to find.
--
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]