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/04/17 07:57:48 UTC

[GitHub] [incubator-doris] kangpinghuang commented on a change in pull request #941: Reconstruct _rs_graph and _rs_version_map when clone finished

kangpinghuang commented on a change in pull request #941: Reconstruct _rs_graph and _rs_version_map when clone finished
URL: https://github.com/apache/incubator-doris/pull/941#discussion_r276119987
 
 

 ##########
 File path: be/src/olap/tablet.cpp
 ##########
 @@ -206,6 +206,24 @@ OLAPStatus Tablet::revise_tablet_meta(const TabletMeta& tablet_meta,
         _tablet_meta = new_tablet_meta;
     } while (0);
 
+    for (auto& version : versions_to_delete) {
+        auto it = _rs_version_map.find(version);
+        _rs_version_map.erase(it);
 
 Review comment:
   _inc_rs_version_map need also erase it?

----------------------------------------------------------------
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