You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2019/05/12 14:33:32 UTC
[GitHub] [incubator-doris] morningman commented on a change in pull request
#1146: Set tablet as bad when loading index failed
morningman commented on a change in pull request #1146: Set tablet as bad when loading index failed
URL: https://github.com/apache/incubator-doris/pull/1146#discussion_r283139649
##########
File path: be/src/olap/olap_engine.cpp
##########
@@ -835,6 +840,10 @@ OLAPStatus OLAPEngine::get_tables_by_id(
it = table_list->erase(it);
continue;
}
+ } else if ((*it)->is_used()) {
Review comment:
For now, `tablet is not used` means the store which this tablet on is bad(IO error). So I think using `(*it)->is_used()` is OK
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org