Shrink slog reserved space to 4GB

This commit is contained in:
JiahuaChen
2023-03-14 13:43:28 +00:00
committed by ob-robot
parent 55b78ca715
commit f08a873f6a

View File

@ -71,7 +71,7 @@ private:
private:
static constexpr int64_t NORMAL_LOG_ITEM_SIZE = 512 * 1024; //512KB
static constexpr int64_t RESERVED_DISK_SIZE = 10 * 1024 * 1024 * 1024L; // 10G
static constexpr int64_t RESERVED_DISK_SIZE = 4 * 1024 * 1024 * 1024L; // 4G
common::ObArenaAllocator allocator_;
const char *log_dir_;