fix: freeze data buffer in shard (#3468)

* feat: call freeze if the active data buffer in a shard is full

* chore: more metrics

* chore: print metrics

* chore: enlarge freeze threshold

* test: test freeze

* test: fix config test
This commit is contained in:
Yingwen
2024-03-11 22:51:06 +08:00
committed by GitHub
parent 0a4444a43a
commit 06dcd0f6ed
7 changed files with 151 additions and 42 deletions

View File

@@ -789,7 +789,7 @@ intermediate_path = ""
[datanode.region_engine.mito.memtable]
type = "experimental"
index_max_keys_per_shard = 8192
data_freeze_threshold = 32768
data_freeze_threshold = 131072
dedup = true
fork_dictionary_bytes = "1GiB"