The ObTempBlockStore had incorrect use of the dump interface in append_block_payload, which has now been corrected.

This commit is contained in:
qingsuijiu
2024-02-27 11:20:26 +00:00
committed by ob-robot
parent 0f87edff4f
commit fb3a420c8f

View File

@ -293,7 +293,7 @@ int ObTempBlockStore::append_block_payload(const char *buf, const int64_t size,
// dump data if mem used > 16MB
const int64_t dump_threshold = 1 << 24;
if (OB_SUCC(ret) && mem_used_ > dump_threshold) {
if (OB_FAIL(dump(false /* reuse */, true /* all_dump */))) {
if (OB_FAIL(dump(true /* all_dump */))) {
LOG_WARN("dump failed", K(ret));
}
}