forked from apache/horaedb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: avoid write queue full block (apache#1065)
## Rationale If the first write request is canceled, the write request in the queue will never be executed, until the queue is full, then an error will be returned. ## Detailed Changes Use `CancellationSafeFuture` to execute the write requests, see apache#1071 ## Test Plan Existing tests.
- Loading branch information
1 parent
6b8efb9
commit a34dccf
Showing
2 changed files
with
83 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters