duongkame commented on code in PR #7240:
URL: https://github.com/apache/ozone/pull/7240#discussion_r1779006058
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/volume/HddsVolume.java:
##########
@@ -357,12 +357,14 @@ public void loadDbStore(boolean readOnly) throws
IOException {
File storageIdDir = new File(clusterIdDir, getStorageID());
if (!storageIdDir.exists()) {
+ dbLoadFailure.set(true);
Review Comment:
"Nonexisting clusterIdDir" is considered as NOT_FORMATTED, and the who
structure is recreated when loading.
--
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]