[minor](runtime-filter) add DCHECK for runtimefilter bug (#11996)

Not a fix, just add debug info to try find root cause of #11995
This commit is contained in:
Mingyu Chen
2022-08-24 07:53:30 +08:00
committed by GitHub
parent cbbf4e10ff
commit d06edd4b8b
5 changed files with 24 additions and 0 deletions

View File

@ -285,6 +285,7 @@ void VOlapScanNode::transfer_thread(RuntimeState* state) {
_status = status;
break;
}
(*(scanner->vconjunct_ctx_ptr()))->debug_valid();
}
}
@ -449,6 +450,7 @@ void VOlapScanNode::scanner_thread(VOlapScanner* scanner) {
std::shared_lock<std::shared_mutex> l(_rf_lock);
WARN_IF_ERROR((*_vconjunct_ctx_ptr)->clone(state, scanner->vconjunct_ctx_ptr()),
"Something wrong for runtime filters: ");
(*(scanner->vconjunct_ctx_ptr()))->debug_valid();
}
}
@ -1830,6 +1832,7 @@ Status VOlapScanNode::_append_rf_into_conjuncts(RuntimeState* state, std::vector
}
_vconjunct_ctx_ptr.reset(new doris::vectorized::VExprContext*);
*(_vconjunct_ctx_ptr.get()) = new_vconjunct_ctx_ptr;
new_vconjunct_ctx_ptr->debug_valid();
}
return Status::OK();
}