morningman commented on code in PR #9307:
URL: https://github.com/apache/incubator-doris/pull/9307#discussion_r862481956


##########
be/src/olap/data_dir.cpp:
##########
@@ -108,7 +108,7 @@ Status DataDir::init() {
     RETURN_NOT_OK_STATUS_WITH_WARN(_init_capacity(), "_init_capacity failed");
     RETURN_NOT_OK_STATUS_WITH_WARN(_init_meta(), "_init_meta failed");
 
-    _is_used = true;
+    _is_bad = true;

Review Comment:
   set `_is_bad` to true after init successfully??



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to