kangpinghuang commented on a change in pull request #643: Import TabletState 
and remove mutex in TabletMeta
URL: https://github.com/apache/incubator-doris/pull/643#discussion_r258308927
 
 

 ##########
 File path: be/src/olap/base_compaction.cpp
 ##########
 @@ -43,7 +43,7 @@ namespace doris {
 OLAPStatus BaseCompaction::init(TabletSharedPtr tablet, bool 
is_manual_trigger) {
     // 表在首次查询或PUSH等操作时,会被加载到内存
     // 如果表没有被加载,表明该表上目前没有任何操作,所以不进行BE操作
-    if (!tablet->is_loaded()) {
+    if (!tablet->init_success()) {
 
 Review comment:
   init_success -> is_inited?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to