You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your effort. It's really a good and interesting project. However, there are several methods missed in the RaftOptions.java in the com.github.wenweihu86.raft.aftNode.java.
I have added the following methods but it seems still not sufficient. An interesting thing is it seems that those missed methods exist in the corresponding .class file.
public void setDataDir(String dataPath) {
dataDir = System.getProperty(dataPath);
}
public String getDataDir() {
return dataDir;
}
public void setSnapshotMinLogSize(int size){
snapshotMinLogSize = size;
}
public void setSnapshotPeriodSeconds(int timer){
snapshotPeriodSeconds = timer;
}
public void setMaxSegmentFileSize(int size){
maxSegmentFileSize = size;
}
public int getMaxSegmentFileSize() {
return maxSegmentFileSize;
}
public long getCatchupMargin() {
return catchupMargin;
}
public int getSnapshotMinLogSize() {
return snapshotMinLogSize;
}
public int getSnapshotPeriodSeconds() {
return snapshotPeriodSeconds;
}
public int getRaftConsensusThreadNum() {
return raftConsensusThreadNum;
}
public boolean isAsyncWrite() {
return asyncWrite;
}
public int getMaxAwaitTimeout() {
return maxAwaitTimeout;
}
The text was updated successfully, but these errors were encountered:
Hi Wenweihu,
Thanks for your effort. It's really a good and interesting project. However, there are several methods missed in the RaftOptions.java in the com.github.wenweihu86.raft.aftNode.java.
I have added the following methods but it seems still not sufficient. An interesting thing is it seems that those missed methods exist in the corresponding .class file.
The text was updated successfully, but these errors were encountered: