kangpinghuang commented on a change in pull request #467: change Rowset pointer
to std::shared_ptr<Rowset>
URL: https://github.com/apache/incubator-doris/pull/467#discussion_r243909118
##########
File path: gensrc/proto/olap_file.proto
##########
@@ -183,6 +183,47 @@ message OLAPHeaderMessage {
repeated RowsetMetaPB incremental_rowsets = 25;
}
+enum AlterTabletStatePB {
+ ALTERING = 0;
+ FINISHED = 1;
+ FAILED = 2;
+}
+
+enum AlterTabletTypePB {
+ SCHEMA_CHANGE = 0;
+ ROLLUP = 1;
+}
+
+message AlterTabletPB {
+ required int64 related_tablet_id = 1;
+ optional int64 related_schema_hash = 2;
+ repeated RowsetMetaPB rowsets_to_alter = 3;
+ optional AlterTabletStatePB alter_state = 4;
+ optional AlterTabletTypePB alter_type = 5;
+}
+
+enum TabletStatePB {
+ NOTREADY = 0; // under alter table, rollup, clone
+ RUNNING = 1;
+ TOMBSTONED = 2;
+ STOPPED = 3;
+ SHUTDOWN = 4;
+}
+
+message TabletMetaPB {
+ optional int64 table_id = 1;
+ optional int64 partition_id = 2;
+ optional int64 tablet_id = 3;
+ optional int64 schema_hash = 4;
+ optional int32 shard_id = 5;
+
+ optional SchemaPB schema = 6;
+ repeated RowsetMetaPB rs_meta = 7;
+ repeated RowsetMetaPB inc_rs_meta = 8;
Review comment:
plural form?
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]