nizhikov commented on code in PR #12112:
URL: https://github.com/apache/ignite/pull/12112#discussion_r2114603087
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/persistence/SnapshotCompatibilityTest.java:
##########
@@ -145,12 +157,29 @@ private void checkSnapshot(IgniteEx node) {
// https://issues.apache.org/jira/browse/IGNITE-25096
boolean incSnpSupported = customConsId && oldNodesCnt == 1;
- IgniteFuture<Void> fut = incSnpSupported
- ? node.snapshot().restoreSnapshot(SNAPSHOT_NAME, new
HashSet<>(cacheToGrp.values()), 1)
- : node.snapshot().restoreSnapshot(SNAPSHOT_NAME, new
HashSet<>(cacheToGrp.values()));
+ HashSet<String> grpNames = new HashSet<>(cacheToGrp.values());
Review Comment:
Any reason to have implementation typed variable instead of just `Set`?
--
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]