fix sn_async_write for id_mode_backup
This commit is contained in:
parent
dbdc2aed5d
commit
e62653acb0
@ -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_));
|
||||
|
Loading…
x
Reference in New Issue
Block a user