diff --git a/src/storage/tx/ob_tx_log.h b/src/storage/tx/ob_tx_log.h index 7e096e0659..ffaab4a333 100755 --- a/src/storage/tx/ob_tx_log.h +++ b/src/storage/tx/ob_tx_log.h @@ -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) {