forked from redpanda-data/redpanda
-
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.
k/group: abort recovery when the read is incomplete
If storage layer will return early from the reader the group stm is not fully recovered. In this case a consumer offset coordinator can not start replying to client requests as the in memory consumer group representation may be incomplete. Added a code preventing this situation from happening. When incomplete read happened the group manager requests the underlying partition leader to step down. This will trigger another leader election and will trigger leadership notification leading to group recovery. Signed-off-by: Michał Maślanka <[email protected]>
- Loading branch information
1 parent
61e7cb6
commit 33aeba2
Showing
3 changed files
with
21 additions
and
3 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