diff --git a/src/common/src/config.rs b/src/common/src/config.rs index 8603ce7f9fd1c..ddbd3602d7dab 100644 --- a/src/common/src/config.rs +++ b/src/common/src/config.rs @@ -1739,7 +1739,7 @@ pub mod default { } pub fn time_travel_version_cache_capacity() -> u64 { - 32 + 2 } } diff --git a/src/config/docs.md b/src/config/docs.md index 0eaee5db1cf03..2f211d8afb789 100644 --- a/src/config/docs.md +++ b/src/config/docs.md @@ -154,7 +154,7 @@ This page is automatically generated by `./risedev generate-example-config` | shared_buffer_min_batch_flush_size_mb | The minimum total flush size of shared buffer spill. When a shared buffer spilled is trigger, the total flush size across multiple epochs should be at least higher than this size. | 800 | | sstable_id_remote_fetch_number | Number of SST ids fetched from meta per RPC | 10 | | table_info_statistic_history_times | The window size of table info statistic history. | 240 | -| time_travel_version_cache_capacity | | 32 | +| time_travel_version_cache_capacity | | 2 | | write_conflict_detection_enabled | Whether to enable write conflict detection | true | ## streaming diff --git a/src/config/example.toml b/src/config/example.toml index 73f7c09fd3c79..8ea3480ac199e 100644 --- a/src/config/example.toml +++ b/src/config/example.toml @@ -172,7 +172,7 @@ table_info_statistic_history_times = 240 mem_table_spill_threshold = 4194304 compactor_max_overlap_sst_count = 64 compactor_max_preload_meta_file_count = 32 -time_travel_version_cache_capacity = 32 +time_travel_version_cache_capacity = 2 [storage.cache.block_cache_eviction] algorithm = "Lru"