kangpinghuang commented on a change in pull request #493: Make tablet and 
tablet_meta can be compiled
URL: https://github.com/apache/incubator-doris/pull/493#discussion_r244907976
 
 

 ##########
 File path: be/src/olap/tablet.cpp
 ##########
 @@ -83,8 +82,8 @@ bool Tablet::can_do_compaction() {
     // 如果选路成功,则转换完成,可以进行BE
     // 如果选路失败,则转换未完成,不能进行BE
     ReadLock rdlock(&_meta_lock);
-    const PDelta* lastest_rowset = lastest_version();
-    if (lastest_rowset == NULL) {
+    const PDelta* lastest_delta = lastest_version();
 
 Review comment:
   I think PDelta should be replaced by RowsetMetaPB?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to