fix write only performance down bug

This commit is contained in:
obdev
2022-11-17 04:05:38 +00:00
committed by wangzelin.wzl
parent 981c985d69
commit c641e6b8e3

View File

@ -338,7 +338,7 @@ public:
static const int64_t TMP_HEADER_SER_BUF_LEN = 256; // log header序列化的临时buffer大小
static const int64_t APPEND_CNT_ARRAY_SIZE = 32; // append次数统计数组的size
static const uint64_t APPEND_CNT_ARRAY_MASK = APPEND_CNT_ARRAY_SIZE - 1;
static const int64_t APPEND_CNT_LB_FOR_PERIOD_FREEZE = 200000; // 切为PERIOD_FREEZE_MODE的append count下界
static const int64_t APPEND_CNT_LB_FOR_PERIOD_FREEZE = 130000; // 切为PERIOD_FREEZE_MODE的append count下界
private:
struct LogTaskGuard
{