[fix](meta) add sync new image timeout (#25768)

Add timeout config for sync
This commit is contained in:
CanGuan
2023-10-25 23:46:18 +08:00
committed by GitHub
parent 5c191e5b08
commit 0fb57a6db8
2 changed files with 11 additions and 1 deletions

View File

@ -2259,4 +2259,13 @@ public class Config extends ConfigBase {
})
public static boolean ignore_unknown_metadata_module = false;
@ConfField(mutable = true, masterOnly = true, description = {
"FE扩容时,从主节点同步元数据的timeout时间,根据${meta_dir}/image文件夹下面的image文件大小和节点间的网络环境调整,"
+ "单位为秒,默认值300",
"The timeout for new FE Follower/Observer synchronizing metadata from the FE Master, "
+ "adjust by the size of image file in the ${meta_dir}/image and the network environment between nodes. "
+ "The default values is 300s."
})
public static int sync_image_timeout_second = 300;
}