This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new da786793219 [minor](fix) remove unnecessary DCHECK (#51154)
da786793219 is described below

commit da78679321907070262980fb19e2297bbef82b59
Author: Gabriel <[email protected]>
AuthorDate: Tue Jun 10 11:31:44 2025 +0800

    [minor](fix) remove unnecessary DCHECK (#51154)
---
 be/src/pipeline/local_exchange/local_exchanger.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/pipeline/local_exchange/local_exchanger.h 
b/be/src/pipeline/local_exchange/local_exchanger.h
index df0d7986595..9de85d20ae6 100644
--- a/be/src/pipeline/local_exchange/local_exchanger.h
+++ b/be/src/pipeline/local_exchange/local_exchanger.h
@@ -192,7 +192,7 @@ class LocalExchangeSinkLocalState;
 struct BlockWrapper {
     ENABLE_FACTORY_CREATOR(BlockWrapper);
     BlockWrapper(vectorized::Block&& data_block_) : 
data_block(std::move(data_block_)) {}
-    ~BlockWrapper() { DCHECK_EQ(ref_count.load(), 0); }
+    ~BlockWrapper() = default;
     void ref(int delta) { ref_count += delta; }
     void unref(LocalExchangeSharedState* shared_state, size_t allocated_bytes, 
int channel_id) {
         if (ref_count.fetch_sub(1) == 1) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to