Skip to content

Commit cb7c565

Browse files
authored
IGNITE-28488 Fix raft compilation (#7956)
1 parent d3c739b commit cb7c565

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

modules/raft/src/main/java/org/apache/ignite/internal/raft/storage/segstore/SegmentLogStorageManager.java

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,25 @@ public class SegmentLogStorageManager implements LogStorageManager {
4141

4242
private final SegmentFileManager fileManager;
4343

44+
/** Constructor. */
4445
public SegmentLogStorageManager(
4546
String nodeName,
47+
String storageName,
4648
Path logStoragePath,
4749
int stripes,
4850
FailureProcessor failureProcessor,
4951
boolean fsync,
5052
LogStorageConfiguration storageConfiguration
5153
) throws IOException {
52-
this.fileManager = new SegmentFileManager(nodeName, logStoragePath, stripes, failureProcessor, fsync, storageConfiguration);
54+
this.fileManager = new SegmentFileManager(
55+
nodeName,
56+
storageName,
57+
logStoragePath,
58+
stripes,
59+
failureProcessor,
60+
fsync,
61+
storageConfiguration
62+
);
5363
}
5464

5565
@Override

modules/raft/src/test/java/org/apache/ignite/raft/jraft/storage/logit/HybridLogStorageTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ public void testHybridStorageWithSegStore(@InjectConfiguration LogStorageConfigu
103103

104104
newStorageFactory = new SegmentLogStorageManager(
105105
"test",
106+
"test factory",
106107
storagePath,
107108
1,
108109
new NoOpFailureManager(),

0 commit comments

Comments
 (0)