-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
broker/client: discard async appends of deleted journals
There are unavoidable scenarios where a client creates an intention to asynchronously write to a journal (as an AsyncAppend, or an checkpointed ACK intent), but the journal is deleted before the write can land. Before, AppendService will loop forever awaiting the journal to come back into existence. After, AppendService will discard writes to deleted or non-existant journals, logging a warning before doing so. This parallels the broker behavior of dropping spooled fragment data upon journal deletion.
- Loading branch information
1 parent
128bdd7
commit 3c45701
Showing
4 changed files
with
44 additions
and
2 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
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