This is an automated email from the ASF dual-hosted git repository.
zouxinyi pushed a commit to branch branch-1.1-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.1-lts by this push:
new b4a86fc0b2 Buffer pool dcheck (#12965)
b4a86fc0b2 is described below
commit b4a86fc0b2fe9c522dec67337d2bfe1da88c5878
Author: Yongqiang YANG <[email protected]>
AuthorDate: Mon Sep 26 15:31:03 2022 +0800
Buffer pool dcheck (#12965)
fix core and deadlick
---
be/src/runtime/bufferpool/buffer_allocator.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/runtime/bufferpool/buffer_allocator.cc
b/be/src/runtime/bufferpool/buffer_allocator.cc
index ed1d156df5..38869a9da9 100644
--- a/be/src/runtime/bufferpool/buffer_allocator.cc
+++ b/be/src/runtime/bufferpool/buffer_allocator.cc
@@ -365,7 +365,7 @@ int64_t BufferPool::BufferAllocator::ScavengeBuffers(bool
slow_but_sure, int cur
if (slow_but_sure && bytes_found < target_bytes) {
bytes_found +=
DecreaseBytesRemaining(target_bytes - bytes_found, true,
&system_bytes_remaining_);
- DCHECK_EQ(bytes_found, target_bytes) << DebugString();
+ // DCHECK_EQ(bytes_found, target_bytes) << DebugString();
}
return bytes_found;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]