timoninmaxim commented on code in PR #11118:
URL: https://github.com/apache/ignite/pull/11118#discussion_r1471352443
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/dump/CreateDumpFutureTask.java:
##########
@@ -173,7 +172,14 @@ public CreateDumpFutureTask(
);
this.dumpDir = dumpDir;
- this.ioFactory = compress ? new WriteOnlyZipFileIOFactory() :
ioFactory;
+
+ ioFactory = new BufferedFileIOFactory(ioFactory);
+
+ if (compress)
+ ioFactory = new
WriteOnlyZipFileIOFactory((BufferedFileIOFactory)ioFactory);
Review Comment:
Useless cast
--
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]