[improvement](fe) Add reason log when Env is not ready (#28286)

This commit is contained in:
Lei Zhang
2023-12-15 12:22:06 +08:00
committed by GitHub
parent 6f3fb81965
commit e6b135c76a
5 changed files with 58 additions and 50 deletions

View File

@ -244,12 +244,12 @@ public class Config extends ConfigBase {
"The desired upper limit on the number of bytes of reserved space to retain "
+ "in a replicated JE Environment. "
+ "This parameter is ignored in a non-replicated JE Environment."})
public static int bdbje_reserved_disk_bytes = 1 * 1024 * 1024 * 1024; // 1G
public static long bdbje_reserved_disk_bytes = 1 * 1024 * 1024 * 1024; // 1G
@ConfField(description = {"BDBJE 所需的空闲磁盘空间大小。如果空闲磁盘空间小于这个值,则BDBJE将无法写入。",
"Amount of free disk space required by BDBJE. "
+ "If the free disk space is less than this value, BDBJE will not be able to write."})
public static int bdbje_free_disk_bytes = 1 * 1024 * 1024 * 1024; // 1G
public static long bdbje_free_disk_bytes = 1 * 1024 * 1024 * 1024; // 1G
@ConfField(masterOnly = true, description = {"心跳线程池的线程数",
"Num of thread to handle heartbeat events"})