Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer committed Aug 19, 2024
1 parent 276ace5 commit f1db1dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions velox/exec/Operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ void Operator::MemoryReclaimer::enterArbitration() {
}

Driver* const runningDriver = driverThreadCtx->driverCtx.driver;
if (!FLAGS_transferred_arbitration_allowed) {
if (!FLAGS_velox_memory_pool_capacity_transfer_across_tasks) {
if (auto opDriver = ensureDriver()) {
// NOTE: the current running driver might not be the driver of the
// operator that requests memory arbitration. The reason is that an
Expand Down Expand Up @@ -593,7 +593,7 @@ void Operator::MemoryReclaimer::leaveArbitration() noexcept {
return;
}
Driver* const runningDriver = driverThreadCtx->driverCtx.driver;
if (!FLAGS_transferred_arbitration_allowed) {
if (!FLAGS_velox_memory_pool_capacity_transfer_across_tasks) {
if (auto opDriver = ensureDriver()) {
VELOX_CHECK_EQ(
runningDriver->task()->taskId(),
Expand Down

0 comments on commit f1db1dd

Please sign in to comment.