diff --git a/src/storage/blocksstable/ob_block_sstable_struct.cpp b/src/storage/blocksstable/ob_block_sstable_struct.cpp index ab506ffa96ffd8eac024602f7ba9a6a6a4fa0bff..abd8bb24282c3b24500f4296c91c3e90973e592c 100644 --- a/src/storage/blocksstable/ob_block_sstable_struct.cpp +++ b/src/storage/blocksstable/ob_block_sstable_struct.cpp @@ -4209,7 +4209,7 @@ int64_t ObMacroBlockMetaV2::get_meta_content_serialize_size() const if (NULL != column_checksum_) { size += sizeof(int64_t) * column_number_; // column_checksum_ array } - if (NULL != endkey_) { + if (is_normal_data_block() && nullptr != endkey_) { ObRowkey rowkey(endkey_, rowkey_column_number_); size += rowkey.get_deep_copy_size(); // rowkey object array }