This is an automated email from the ASF dual-hosted git repository.
kamille pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-horaedb-proto.git
The following commit(s) were added to refs/heads/main by this push:
new 16111cd feat: add enable fields to decision whether use
LayeredMemtable. (#131)
16111cd is described below
commit 16111cd7b5ddb3ee79f4fe5a29795fa924865cd1
Author: kamille <[email protected]>
AuthorDate: Fri May 31 14:53:36 2024 +0800
feat: add enable fields to decision whether use LayeredMemtable. (#131)
---
protos/engine/manifest.proto | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/protos/engine/manifest.proto b/protos/engine/manifest.proto
index f3fdef8..145d481 100644
--- a/protos/engine/manifest.proto
+++ b/protos/engine/manifest.proto
@@ -191,6 +191,8 @@ enum Compression {
}
message LayeredMemtableOptions {
- // Layered memtable will be disable when threshold is 0.
uint64 mutable_segment_switch_threshold = 1;
+ // because bool's default value is false in pb,
+ // use `disable` here to make `enable` default true.
+ bool disable = 2;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]