rpuch commented on code in PR #1280:
URL: https://github.com/apache/ignite-3/pull/1280#discussion_r1010522003


##########
modules/raft/src/main/java/org/apache/ignite/internal/raft/storage/impl/IgniteJraftServiceFactory.java:
##########
@@ -38,7 +39,9 @@ public class IgniteJraftServiceFactory extends 
DefaultJRaftServiceFactory {
     private final LogStorageFactory logStorageFactory;
 
     /** Snapshot storage factory. */
-    private volatile SnapshotStorageFactory snapshotStorageFactory = 
LocalSnapshotStorage::new;
+    private volatile SnapshotStorageFactory snapshotStorageFactory = (path, 
raftOptions, logManager) -> {
+        return new LocalSnapshotStorage(path, raftOptions);
+    };

Review Comment:
   This way the line will exceed 140 characters in length



-- 
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]

Reply via email to