chore: add compaction paramaters (#169)

* chore: add compaction paramaters

* fix: formatting and field names
This commit is contained in:
Lei, HUANG
2024-05-22 17:24:06 +08:00
committed by GitHub
parent e650f73c0b
commit 3cd71167ee
4 changed files with 2492 additions and 41 deletions
+15 -1
View File
@@ -146,7 +146,21 @@ message DropColumn { string name = 1; }
message FlushRequest { uint64 region_id = 1; }
message CompactRequest { uint64 region_id = 1; }
/// Regular compaction
message Regular {}
/// Strictly-windowed compaction.
message StrictWindow {
int64 window_seconds = 1;
}
message CompactRequest {
uint64 region_id = 1;
oneof options {
Regular regular = 2;
StrictWindow strict_window = 3;
}
}
message TruncateRequest { uint64 region_id = 1; }