Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions cloud/src/common/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,15 @@ CONF_Strings(recycle_whitelist, ""); // Comma seprated list
CONF_Strings(recycle_blacklist, ""); // Comma seprated list
// IO worker thread pool concurrency: object list, delete
CONF_mInt32(instance_recycler_worker_pool_size, "32");
// Max scanned rowsets recycled for one tablet in one recycle_rowsets round.
CONF_mInt32(max_recycle_rowsets_per_tablet_batch, "10000");
// Max number of delete tasks per batch when recycling objects.
// Each task deletes up to 1000 files. Controls memory usage during large-scale deletion.
CONF_Int32(recycler_max_tasks_per_batch, "1000");
// Max expired recycle_rowset entries to process for one tablet in one recycle_rowsets scan.
// Remaining entries are left for later scans so deletion can spread across tablet prefixes.
CONF_mInt32(recycle_rowsets_per_tablet_batch_size, "10000");
CONF_mInt32(recycle_rowsets_delete_batch_size, "300000");
// The worker pool size for http api `statistics_recycle` worker pool
CONF_mInt32(instance_recycler_statistics_recycle_worker_pool_size, "5");
CONF_Bool(enable_checker, "false");
Expand Down
Loading
Loading