Skip to content

Conversation

@dnwe
Copy link
Collaborator

@dnwe dnwe commented Jan 5, 2025

  • retry admin operations that rely on talking to the group coordinator for a given ID if the coordinator has changed from the cached value, or is not available
  • also fixup controller retry in ElectLeaders to use the err from response rather than sendAndReceive
  • also rename isErrNotController to isRetriableControllerError for consistency
@dnwe dnwe force-pushed the dnwe/admin branch 2 times, most recently from 0c7dafc to 718ce09 Compare January 6, 2025 21:28
@dnwe dnwe added the fix label Jan 6, 2025
@dnwe dnwe changed the base branch from main to dnwe/fix-fv January 7, 2025 11:01
Base automatically changed from dnwe/fix-fv to main January 7, 2025 11:12
@dnwe dnwe marked this pull request as ready for review January 7, 2025 11:18
dnwe added 3 commits January 7, 2025 12:34
Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
- retry admin operations that rely on talking to the group coordinator
  for a given ID if the coordinator has changed from the cached value,
  or is not available
- also fixup controller retry in ElectLeaders to use the err from
  response rather than sendAndReceive
- also rename isErrNotController to isRetriableControllerError for
  consistency

Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
Use a named return for the defer func to inspect to avoid subtle bugs

Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
Copy link
Collaborator

@hindessm hindessm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dnwe dnwe merged commit 7385204 into main Jan 7, 2025
15 checks passed
@dnwe dnwe deleted the dnwe/admin branch January 7, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4 participants