Skip to content

Conversation

@yashnevatia
Copy link
Contributor

Description

Requires Dependencies

Resolves Dependencies

@yashnevatia yashnevatia requested a review from a team as a code owner July 29, 2025 12:37
@yashnevatia yashnevatia changed the title transition to oos from oos for load balanced multinode transition to oos from oos for load balanced multinode rpc Jul 29, 2025
@github-actions
Copy link

👋 yashnevatia, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

if n.isLoadBalancedRPC {
n.declareUnreachable()
// in case all rpcs behind a load balanced rpc are out of sync, we need to declare out of sync to prevent false transition to alive
n.declareOutOfSync(syncStatusNoNewHead)
Copy link
Contributor

Choose a reason for hiding this comment

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

pass syncIssues to keep track of other issues that RPC might need to resolve before transitioning back to alive

Copy link
Contributor Author

Choose a reason for hiding this comment

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

return
}
switch n.state {
case nodeStateAlive:
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: it should be ok to relax the constraint and allow self-transition even if RPC is not isLoadBalancedRPC. Just to simplify logic.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@yashnevatia yashnevatia enabled auto-merge (squash) July 29, 2025 12:45
@yashnevatia yashnevatia merged commit 508e798 into main Jul 29, 2025
23 checks passed
@yashnevatia yashnevatia deleted the rpc-proxy-flag-2 branch July 29, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants