sumitagrawl commented on code in PR #4030:
URL: https://github.com/apache/ozone/pull/4030#discussion_r1045418974
##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ha/SCMHAUtils.java:
##########
@@ -146,7 +146,7 @@ public static String
getSCMRatisDirectory(ConfigurationSource conf) {
public static String getSCMRatisSnapshotDirectory(ConfigurationSource conf) {
String snapshotDir =
- conf.get(ScmConfigKeys.OZONE_SCM_HA_RATIS_STORAGE_DIR);
+ conf.get(ScmConfigKeys.OZONE_SCM_HA_RATIS_SNAPSHOT_DIR);
Review Comment:
I mean,
Before upgrade, snapshot is stored at OZONE_SCM_HA_RATIS_STORAGE_DIR and
snapshots are created in this path.
After upgrade, its changed to OZONE_SCM_HA_RATIS_SNAPSHOT_DIR.
In this case on startup, if ozone try to recover snapshots, will this cause
any failure or impact to the system ?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]