[BUG.FIX] fix data corrupt in tmp file

This commit is contained in:
Tyshawn
2023-07-27 02:42:31 +00:00
committed by ob-robot
parent 1493dba880
commit 031c930e96
4 changed files with 46 additions and 24 deletions

View File

@ -622,6 +622,8 @@ int ObTmpFileExtent::try_sync_block()
} else if (OB_FAIL(OB_TMP_FILE_STORE.wash_block(owner_->get_tenant_id(), block_id_, handle))) {
// try to flush the block to the disk. If fails, do nothing.
STORAGE_LOG(DEBUG, "fail to sync block", K(ret), K(owner_->get_tenant_id()), K(block_id_));
} else {
STORAGE_LOG(DEBUG, "succeed to sync wash block", K(block_id_));
}
return ret;