From 0aa1fc4e7974b746ed5ceb9725e19584a651171b Mon Sep 17 00:00:00 2001 From: zwang28 <84491488@qq.com> Date: Fri, 27 Sep 2024 11:12:12 +0800 Subject: [PATCH] fixup --- src/config/docs.md | 1 + src/config/example.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/src/config/docs.md b/src/config/docs.md index c9d008af2bb39..3fbd4d0589ded 100644 --- a/src/config/docs.md +++ b/src/config/docs.md @@ -39,6 +39,7 @@ This page is automatically generated by `./risedev generate-example-config` | event_log_channel_max_size | Keeps the latest N events per channel. | 10 | | event_log_enabled | | true | | full_gc_interval_sec | Interval of automatic hummock full GC. | 86400 | +| full_gc_object_limit | Max number of object per full GC job can fetch. | 100000 | | hummock_time_travel_snapshot_interval | The interval at which a Hummock version snapshot is taken for time travel. Larger value indicates less storage overhead but worse query performance. | 100 | | hummock_version_checkpoint_interval_sec | Interval of hummock version checkpoint. | 30 | | hybrid_partition_vnode_count | Count of partitions of tables in default group and materialized view group. The meta node will decide according to some strategy whether to cut the boundaries of the file according to the vnode alignment. Each partition contains aligned data of `VirtualNode::COUNT / hybrid_partition_vnode_count` consecutive virtual-nodes of one state table. Set it zero to disable this feature. | 4 | diff --git a/src/config/example.toml b/src/config/example.toml index 7d56b1a11c636..1c172b77efe52 100644 --- a/src/config/example.toml +++ b/src/config/example.toml @@ -16,6 +16,7 @@ dir = "./" [meta] min_sst_retention_time_sec = 86400 full_gc_interval_sec = 86400 +full_gc_object_limit = 100000 collect_gc_watermark_spin_interval_sec = 5 periodic_compaction_interval_sec = 60 vacuum_interval_sec = 30