From 2e1a0c26e4e953b8aa345dd11adc9c066e0a9965 Mon Sep 17 00:00:00 2001 From: Sun Jianyun Date: Tue, 15 Jun 2021 01:52:44 -0500 Subject: [PATCH] fix crash error of ObMacroMetaReplayMap (#96) --- src/storage/ob_macro_meta_replay_map.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/storage/ob_macro_meta_replay_map.cpp b/src/storage/ob_macro_meta_replay_map.cpp index 86823e0b4a..586cd7d2ae 100644 --- a/src/storage/ob_macro_meta_replay_map.cpp +++ b/src/storage/ob_macro_meta_replay_map.cpp @@ -88,7 +88,7 @@ int ObMacroMetaReplayMap::set(const ObMacroBlockKey& key, ObMacroBlockMetaV2& me delete_meta->~ObMacroBlockMetaV2(); allocator_.free(delete_meta); delete_meta = nullptr; - LOG_INFO("succeed to overwrite replay macro meta", K(key), K(*new_meta), K(key.hash())); + LOG_INFO("succeed to overwrite replay macro meta", K(key), KP(new_meta), K(key.hash())); } } } else { @@ -96,7 +96,7 @@ int ObMacroMetaReplayMap::set(const ObMacroBlockKey& key, ObMacroBlockMetaV2& me } } else { new_meta = nullptr; - LOG_INFO("succeed to set replay macro meta", K(key), K(*new_meta), K(key.hash())); + LOG_INFO("succeed to set replay macro meta", K(key), KP(new_meta), K(key.hash())); } if (nullptr != new_meta) { new_meta->~ObMacroBlockMetaV2(); -- GitLab