[BUG.FIX] split block id set memory into tenant
This commit is contained in:
@ -1171,7 +1171,8 @@ int ObTmpFile::sync(const int64_t timeout_ms)
|
||||
// all extents has been closed.
|
||||
const ObIArray<ObTmpFileExtent *> &extents = file_meta_.get_extents();
|
||||
common::hash::ObHashSet<int64_t> blk_id_set;
|
||||
if (OB_FAIL(blk_id_set.create(extents.count()))){
|
||||
lib::ObMemAttr attr(tenant_id_, "TmpBlkIDSet");
|
||||
if (OB_FAIL(blk_id_set.create(extents.count(), attr))){
|
||||
STORAGE_LOG(WARN, "create block id set failed", K(ret), K(timeout_ms));
|
||||
} else {
|
||||
// get extents block id set.
|
||||
|
||||
Reference in New Issue
Block a user