[fix](meta) fix follower sync image timeout after checkpoint. (#26003)

The image file of our cluster reaches 2.3G. After the checkpoint, Followers synchronize the image timeout, resulting in the continuous increase of the bdb directory.

related pr: #25768
This commit is contained in:
luozenglin
2023-10-27 16:58:42 +08:00
committed by GitHub
parent 165957658a
commit 2464a22ac5
2 changed files with 6 additions and 8 deletions

View File

@ -2260,11 +2260,11 @@ 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."
"从主节点同步image文件的超时时间,用户可根据${meta_dir}/image文件夹下面的image文件大小和节点间的网络环境调整,"
+ "单位为秒,默认值300",
"The timeout for FE Follower/Observer synchronizing an image file from the FE Master, can be adjusted by "
+ "the user on the size of image file in the ${meta_dir}/image and the network environment between "
+ "nodes. The default values is 300."
})
public static int sync_image_timeout_second = 300;