diff --git a/src/storage/blocksstable/ob_storage_object_handle.cpp b/src/storage/blocksstable/ob_storage_object_handle.cpp index 73603e856..17d09febe 100644 --- a/src/storage/blocksstable/ob_storage_object_handle.cpp +++ b/src/storage/blocksstable/ob_storage_object_handle.cpp @@ -301,7 +301,7 @@ int ObStorageObjectHandle::sn_async_write(const ObStorageObjectWriteInfo &write_ LOG_WARN("Fail to aio_write", K(ret), K_(macro_id), K(write_info)); } else { int tmp_ret = OB_SUCCESS; - if (OB_TMP_FAIL(OB_SERVER_BLOCK_MGR.update_write_time(macro_id_))) { + if (macro_id_.is_id_mode_local() && OB_TMP_FAIL(OB_SERVER_BLOCK_MGR.update_write_time(macro_id_))) { LOG_WARN("fail to update write time for macro block", K(tmp_ret), K(macro_id_)); } FLOG_INFO("Async write macro block", K(macro_id_));