!2946 【共享存储】释放bufTable的partition锁
Merge pull request !2946 from 董宁/dn_fix7
This commit is contained in:
@ -1105,6 +1105,7 @@ static void SSGetBufferDesc(char *pageid, bool *is_valid, BufferDesc** ret_buf_d
|
||||
*is_valid = (pg_atomic_read_u32(&buf_desc->state) & BM_VALID) != 0;
|
||||
*ret_buf_desc = buf_desc;
|
||||
} else {
|
||||
LWLockRelease(partition_lock);
|
||||
*ret_buf_desc = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user