Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CELEBORN-1818] Fix incorrect timeout exception when waiting on no pe…
…nding writes ### What changes were proposed in this pull request? Do not throw "Wait pending actions timeout" exception when waiting pending writes times out. ### Why are the changes needed? When pendingWrites is reduced to zero, the method waitOnNoPending will jump out of the while loop. Meanwhile, if new PushData/PushMergedData request comes, pendingWrites will increment and be larger then zero. As a result, "wait pending actions timeout" exception will be thrown in waitOnNoPending. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? manual test Closes #3049 from littlexyw/fix_wait_pending_writes_timeout. Authored-by: xinyuwang1 <[email protected]> Signed-off-by: mingji <[email protected]>
- Loading branch information