feat: region storage path (#102)

This commit is contained in:
JeremyHi
2023-09-15 16:39:28 +08:00
committed by GitHub
parent 81495b166b
commit e81a60e817
4 changed files with 403 additions and 1037 deletions
+6 -12
View File
@@ -85,13 +85,10 @@ message CreateRequest {
repeated uint32 primary_key = 4;
// Create region if not exists.
bool create_if_not_exists = 5;
// catalog name and schema name is to accomplish storage path
// catalog name
string catalog = 6;
// schema name
string schema = 7;
// Region storage path
string path = 6;
// Options of the created region.
map<string, string> options = 8;
map<string, string> options = 7;
// TODO: add partition def
}
@@ -101,13 +98,10 @@ message OpenRequest {
uint64 region_id = 1;
// Region engine name
string engine = 2;
// catalog name and schema name is to accomplish storage path
// catalog name
string catalog = 3;
// schema name
string schema = 4;
// Region storage path
string path = 3;
// Options of the opened region.
map<string, string> options = 5;
map<string, string> options = 4;
}
message CloseRequest { uint64 region_id = 1; }