Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose leadership information to nodes #2036

Closed
tillrohrmann opened this issue Oct 7, 2024 · 1 comment
Closed

Expose leadership information to nodes #2036

tillrohrmann opened this issue Oct 7, 2024 · 1 comment

Comments

@tillrohrmann
Copy link
Contributor

tillrohrmann commented Oct 7, 2024

Some components will need information about which PartitionProcessor is the current leader to work in a distributed setup. For example, the query storage component could benefit from this information when fetching the information from leaders running on different nodes. Also, the ingress when using RPCs to ask the PartitionProcessors for a result of an invocation or to submit an invocation will need this information.

Initially, we could propagate this information from the ClusterController that accumulates it via heartbeats. As part of the heartbeats we could send the latest known ClusterState which contains information about the current leaders.

In the future, we want to use a gossip based protocol to propagate the cluster state throughout the cluster.

@tillrohrmann
Copy link
Contributor Author

Already covered by #1907.

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

No branches or pull requests

1 participant