[metasrv] refactor: remove unused proto
syntax = "proto3";
-// meta data types for Databend meta server
package meta;
-// TODO(zbr): keep it or remove
-message Db {
- int64 db_id = 1;
- // Every modification has a corresponding unique ver.
- int64 ver = 20;
- map<string, int64> table_name_to_id = 2;
- map<int64, Table> tables = 3;
-}
-
-// TODO(zbr): keep it or remove
-message Table {
- int64 table_id = 1;
- // Every modification has a corresponding unique ver.
- int64 ver = 20;
-
- bytes schema = 5;
-
- map<string, string> options = 30;
- // a func(string, Vec<ReplicationGroupId>) mapping PartitionBy expr to
- // replication group. A DatabendQuery process should consider this to determine
- // where to send the read or write operations.
- bytes placement_policy = 10;
- // repeated ReplicationGroupId ReplicationGroupIds
-}
-
-// A Cmd serves as a raft log entry to commit an atomic operation into meta data
-// storage.
-
-// TODO(zbr): keep it or remove
-message CmdCreateDatabase {
- string db_name = 20;
- Db db = 50;
-}
-
-// TODO(zbr): keep it or remove
-message CmdCreateTable {
- string db_name = 20;
- string table_name = 30;
- Table table = 40;
-}
-
-// meta service
-
message GetReq { string key = 1; }
+
message GetReply {
bool ok = 1;
string key = 2;
