Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent write completion starvation for duplicates
When a duplicate output stream is detected, we must signal the writeWinner (because the write exists) and onInsert (because it was inserted) for an output stream creation. If we're racing, we should be eventually convergent, but this absolutely fixes a hang which occurs on this sentinel stream's return into getOutput, where the future might never be triggered otherwise.
- Loading branch information