chore: add compaction paramaters (#169)
* chore: add compaction paramaters * fix: formatting and field names
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user