Skip to content

Commit

Permalink
[chore](config) modify tablet_schema_cache_recycle_interval from 24…
Browse files Browse the repository at this point in the history
…h to 1h (apache#28980)

To prevent from too many tablet schema cache in memory and lead to performance issue when hold lock
to erase item
  • Loading branch information
eldenmoon authored Dec 25, 2023
1 parent 7434de9 commit 75a4548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/common/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ DEFINE_Int32(group_commit_memory_rows_for_max_filter_ratio, "10000");
DEFINE_Bool(wait_internal_group_commit_finish, "false");

DEFINE_mInt32(scan_thread_nice_value, "0");
DEFINE_mInt32(tablet_schema_cache_recycle_interval, "86400");
DEFINE_mInt32(tablet_schema_cache_recycle_interval, "3600");

DEFINE_Bool(exit_on_exception, "false");
// This config controls whether the s3 file writer would flush cache asynchronously
Expand Down

0 comments on commit 75a4548

Please sign in to comment.