kangpinghuang commented on a change in pull request #399: Add Rowset Interface
URL: https://github.com/apache/incubator-doris/pull/399#discussion_r239380952
 
 

 ##########
 File path: gensrc/proto/olap_file.proto
 ##########
 @@ -58,6 +58,39 @@ message PDelta {
     optional DeleteConditionMessage delete_condition = 6;
 }
 
+enum RowsetType {
+    ALPHA_ROWSET = 0; // doris原有的列存格式
+    BETA_ROWSET  = 1; // 新列存
+}
+
+enum RowsetState {
+    PREPARING = 0; // 表示正在写入Rowset
+    COMMITTED = 1; // 表示rowset 写入完成,但是用户还不可见;这个状态下的rowset,BE不能自行判断是否删除,必须由FE的指令
+    VISIBLE = 2; // 表示rowset 已经对用户可见
+}
+
+message RowsetMetaPb {
+    required int64 rowset_id = 1;
+    // RowsetMeta update version
+    required int64 version = 2;
 
 Review comment:
   update version is for indicating which RowsetMetaPb is new.
   txn_id is for transaction.

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