HDDS-2207. Update Ratis to latest snapshot. Contributed by Shashikant Bannerjee. (#1550)
This commit is contained in:
parent
b46d82339f
commit
98ca07ebed
@ -266,7 +266,7 @@ private RaftProperties newRaftProperties() {
|
|||||||
conf.getObject(RatisServerConfiguration.class);
|
conf.getObject(RatisServerConfiguration.class);
|
||||||
int numSnapshotsRetained =
|
int numSnapshotsRetained =
|
||||||
ratisServerConfiguration.getNumSnapshotsRetained();
|
ratisServerConfiguration.getNumSnapshotsRetained();
|
||||||
RaftServerConfigKeys.Snapshot.setSnapshotRetentionPolicy(properties,
|
RaftServerConfigKeys.Snapshot.setRetentionFileNum(properties,
|
||||||
numSnapshotsRetained);
|
numSnapshotsRetained);
|
||||||
return properties;
|
return properties;
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|||||||
<hdds.version>0.5.0-SNAPSHOT</hdds.version>
|
<hdds.version>0.5.0-SNAPSHOT</hdds.version>
|
||||||
|
|
||||||
<!-- Apache Ratis version -->
|
<!-- Apache Ratis version -->
|
||||||
<ratis.version>0.4.0</ratis.version>
|
<ratis.version>0.5.0-201fc85-SNAPSHOT</ratis.version>
|
||||||
|
|
||||||
<bouncycastle.version>1.60</bouncycastle.version>
|
<bouncycastle.version>1.60</bouncycastle.version>
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<hdds.version>0.5.0-SNAPSHOT</hdds.version>
|
<hdds.version>0.5.0-SNAPSHOT</hdds.version>
|
||||||
<ozone.version>0.5.0-SNAPSHOT</ozone.version>
|
<ozone.version>0.5.0-SNAPSHOT</ozone.version>
|
||||||
<ratis.version>0.4.0</ratis.version>
|
<ratis.version>0.5.0-201fc85-SNAPSHOT</ratis.version>
|
||||||
<bouncycastle.version>1.60</bouncycastle.version>
|
<bouncycastle.version>1.60</bouncycastle.version>
|
||||||
<ozone.release>Crater Lake</ozone.release>
|
<ozone.release>Crater Lake</ozone.release>
|
||||||
<declared.ozone.version>${ozone.version}</declared.ozone.version>
|
<declared.ozone.version>${ozone.version}</declared.ozone.version>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user