[Enhancement](multi-catalog) add config for external meta cache loade… (#18117)

Add config for external cache-loader's max thread-pool size.
This commit is contained in:
Xiangyu Wang
2023-03-28 15:10:19 +08:00
committed by GitHub
parent d7dcdfcba9
commit 6bd2609294
4 changed files with 31 additions and 2 deletions

View File

@ -1904,6 +1904,13 @@ public class Config extends ConfigBase {
@ConfField(mutable = false, masterOnly = false)
public static long max_hive_partition_cache_num = 100000;
/**
* Max cache loader thread-pool size.
* Max thread pool size for loading external meta cache
*/
@ConfField(mutable = false, masterOnly = false)
public static int max_external_cache_loader_thread_pool_size = 10;
/**
* Max cache num of external catalog's file
* Decrease this value if FE's memory is small