[CP] [CP] [SRS]fix fifo_allocator err log

This commit is contained in:
obdev
2024-02-07 10:31:49 +00:00
committed by ob-robot
parent bbd54334ea
commit 9d07e43adf

View File

@ -462,7 +462,7 @@ int ObTenantSrs::fetch_all_srs(ObSrsCacheSnapShot *&srs_snapshot, bool is_sys_sr
const ObSrsItem *tmp = NULL; const ObSrsItem *tmp = NULL;
res_count++; res_count++;
if (OB_ISNULL(snapshot)) { if (OB_ISNULL(snapshot)) {
snapshot = OB_NEWx(ObSrsCacheSnapShot, &allocator_, &allocator_, snapshot_type); snapshot = OB_NEWx(ObSrsCacheSnapShot, &allocator_, &alloc_, snapshot_type);
if (OB_ISNULL(snapshot)) { if (OB_ISNULL(snapshot)) {
ret = OB_ALLOCATE_MEMORY_FAILED; ret = OB_ALLOCATE_MEMORY_FAILED;
LOG_WARN("failed to create ObSrsCacheSnapShot", K(ret)); LOG_WARN("failed to create ObSrsCacheSnapShot", K(ret));