yiguolei commented on a change in pull request #1678: Add rowset id generator 
to FE and BE
URL: https://github.com/apache/incubator-doris/pull/1678#discussion_r318914954
 
 

 ##########
 File path: be/src/olap/data_dir.cpp
 ##########
 @@ -582,7 +576,9 @@ OLAPStatus DataDir::_convert_old_tablet() {
         for (auto& rowset_pb : pending_rowsets) {
             string meta_binary;
             rowset_pb.SerializeToString(&meta_binary);
-            status = RowsetMetaManager::save(_meta, rowset_pb.tablet_uid(), 
rowset_pb.rowset_id() , meta_binary);
+            RowsetId rowset_id;
+            rowset_id.init(rowset_pb.rowset_id_v2());
 
 Review comment:
   No. You see this method is _convert_old_tablet. It is a method to convert 
old be before 0.10 to current be. During convert process, the rowset_id_v2 is 
set.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

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

Reply via email to