You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/05/01 14:23:35 UTC

[GitHub] [incubator-doris] morningman commented on a diff in pull request #9307: [refactor][storage]rename is_used to is_bad

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-unsubscribe@doris.apache.org

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


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