big log is not supported before 4.2.2 version

This commit is contained in:
obdev
2023-10-19 12:13:33 +00:00
committed by ob-robot
parent 8c29e91998
commit 10c129de0a

View File

@ -993,7 +993,13 @@ public:
}
// it will be enabled after clog support big clog
// } else if (NORMAL_LOG_BUF_SIZE == len_) {
// if (OB_ISNULL(ptr = alloc_big_buf_())) {
// int64_t data_version = 0;
// if (OB_FAIL(GET_MIN_DATA_VERSION(MTL_ID(), data_version))) {
// TRANS_LOG(WARN, "get data version failed", K(ret));
// } else if (data_version < DATA_VERSION_4_2_2_0) {
// ret = OB_NOT_SUPPORTED;
// TRANS_LOG(WARN, "big log is not supported", K(ret));
// } else if (OB_ISNULL(ptr = alloc_big_buf_())) {
// ret = OB_ALLOCATE_MEMORY_FAILED;
// } else {
// if (pos > 0) {