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_r318516616
 
 

 ##########
 File path: be/src/olap/storage_engine.h
 ##########
 @@ -196,6 +197,12 @@ class StorageEngine {
     // TODO(ygl)
     TabletSyncService* tablet_sync_service() { return nullptr; }
 
+    OLAPStatus next_rowset_id(RowsetId* rowset_id) { return 
_rowset_id_generator->next_id(rowset_id); };
+
+    bool rowset_id_in_use(RowsetId& rowset_id) { return 
_rowset_id_generator->id_in_use(rowset_id); };
+
+    void release_rowset_id(RowsetId& rowset_id) { return 
_rowset_id_generator->release_id(rowset_id); };
 
 Review comment:
   Done

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