-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: unregistering topic translates to multiple redundant Raft proposals
During topic unregistration, an early return after each log stream unregistration prevented cacheCompleteCB from being called. Without this callback, proposeWithGuarantee interpreted the operation as incomplete and retried the entire topic unregistration multiple times. This resulted in linear scaling of unregistration time with the number of log streams (approximately 100ms per log stream) and additional consensus overhead. Remove the premature return to ensure cacheCompleteCB is called after all log streams are processed, allowing the entire operation to be handled in a single Raft proposal.
- Loading branch information
1 parent
cc75160
commit 16093f0
Showing
2 changed files
with
63 additions
and
5 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