Skip to content

Commit

Permalink
fix data race
Browse files Browse the repository at this point in the history
  • Loading branch information
gitccl committed May 23, 2023
1 parent b55760d commit 48fa685
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions be/src/vec/exec/scan/scanner_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ void ScannerContext::clear_and_join(VScanNode* node, RuntimeState* state) {
_close_and_clear_scanners(node, state);

_blocks_queue.clear();
std::unique_lock lock(_free_blocks_lock);
_free_blocks.clear();
}

Expand Down

0 comments on commit 48fa685

Please sign in to comment.