change memory allocation
This commit is contained in:
parent
e993e098f7
commit
ef354be50c
@ -66,7 +66,7 @@ int ObStorageLogReader::init(
|
||||
STORAGE_REDO_LOG(WARN, "Log buffer's data has been set",
|
||||
K(ret), KP(log_buffer_.get_data()));
|
||||
} else {
|
||||
const ObMemAttr attr(OB_SERVER_TENANT_ID, ObModIds::OB_LOG_READER);
|
||||
const ObMemAttr attr(tenant_id, ObModIds::OB_LOG_READER);
|
||||
char *buf = static_cast<char *>(ob_malloc_align(OB_DIRECT_IO_ALIGN,
|
||||
ObLogConstants::LOG_ITEM_MAX_LENGTH, attr));
|
||||
if (nullptr == buf) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user