Skip to content

Commit

Permalink
WIP recursive arbitration
Browse files Browse the repository at this point in the history
  • Loading branch information
tanjialiang committed Nov 12, 2024
1 parent afa6572 commit 94db522
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions velox/common/memory/MemoryPool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,9 @@ bool MemoryPoolImpl::maybeIncrementReservation(uint64_t size) {
!underMemoryArbitration())) {
return false;
}
if (underMemoryArbitration()) {
::abort();
}
}
incrementReservationLocked(size);
return true;
Expand Down
2 changes: 1 addition & 1 deletion velox/exec/fuzzer/MemoryArbitrationFuzzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ void MemoryArbitrationFuzzer::verify() {
}

std::this_thread::sleep_for(
std::chrono::seconds(FLAGS_iteration_duration_sec));
std::chrono::seconds(7200));
stop = true;

for (auto& queryThread : queryThreads) {
Expand Down

0 comments on commit 94db522

Please sign in to comment.