[bugfix] temporarily disable RF code to avoid core dump caused by vexpr destruction (#10504)

Runtime filter handling in volap_scann_ode may cause double free in VExprContext, temporarily disable it to avoid it.
This commit is contained in:
TengJianPing
2022-06-30 14:54:44 +08:00
committed by GitHub
parent 620faf4959
commit d9f2da8cf0

View File

@ -403,6 +403,10 @@ void VOlapScanNode::scanner_thread(VOlapScanner* scanner) {
scanner->set_opened();
}
/*
// the follow code may cause double free in VExprContext,
// temporarily disable it to avoid it
// TODO: fix the bug
std::vector<VExpr*> vexprs;
auto& scanner_filter_apply_marks = *scanner->mutable_runtime_filter_marks();
DCHECK(scanner_filter_apply_marks.size() == _runtime_filter_descs.size());
@ -472,6 +476,7 @@ void VOlapScanNode::scanner_thread(VOlapScanner* scanner) {
"Something wrong for runtime filters: ");
scanner->set_use_pushdown_conjuncts(true);
}
*/
std::vector<Block*> blocks;