Skip to content

Commit 98ca07e

Browse files
bshashikantmukul1987
authored andcommitted
HDDS-2207. Update Ratis to latest snapshot. Contributed by Shashikant Bannerjee. (#1550)
1 parent b46d823 commit 98ca07e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/XceiverServerRatis.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ private RaftProperties newRaftProperties() {
266266
conf.getObject(RatisServerConfiguration.class);
267267
int numSnapshotsRetained =
268268
ratisServerConfiguration.getNumSnapshotsRetained();
269-
RaftServerConfigKeys.Snapshot.setSnapshotRetentionPolicy(properties,
269+
RaftServerConfigKeys.Snapshot.setRetentionFileNum(properties,
270270
numSnapshotsRetained);
271271
return properties;
272272
}

hadoop-hdds/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
4646
<hdds.version>0.5.0-SNAPSHOT</hdds.version>
4747

4848
<!-- Apache Ratis version -->
49-
<ratis.version>0.4.0</ratis.version>
49+
<ratis.version>0.5.0-201fc85-SNAPSHOT</ratis.version>
5050

5151
<bouncycastle.version>1.60</bouncycastle.version>
5252

hadoop-ozone/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<properties>
2929
<hdds.version>0.5.0-SNAPSHOT</hdds.version>
3030
<ozone.version>0.5.0-SNAPSHOT</ozone.version>
31-
<ratis.version>0.4.0</ratis.version>
31+
<ratis.version>0.5.0-201fc85-SNAPSHOT</ratis.version>
3232
<bouncycastle.version>1.60</bouncycastle.version>
3333
<ozone.release>Crater Lake</ozone.release>
3434
<declared.ozone.version>${ozone.version}</declared.ozone.version>

0 commit comments

Comments
 (0)