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

Replace QueryStorage grpc with QueryContext #2182

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

tillrohrmann
Copy link
Contributor

Instead of using an additional grpc call to call from the Admin component
to the node grpc service, the Admin component uses directly the QueryContext
to answer query requests.

This PR is based on #2173. Only the last commit is relevant for the review.

Copy link
Contributor

@pcholakov pcholakov left a comment

Choose a reason for hiding this comment

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

Great cleanup!

@tillrohrmann
Copy link
Contributor Author

Thanks for the review @pcholakov. Rebasing and merging once GHA gives green light.

AhmedSoliman and others added 2 commits October 31, 2024 17:13
…egistration

This allows roles/services to add services to node-rpc-server on startup with no requirement for Node to know about service construction requirements.

Part of this PR temporarily removes QueryStorage API from NodeSvc as it should not belong here. This should either move to its own gRPC service (thanks to the new registration mechanic) or to be removed completely if this is to be replaced by node-to-node networking.
Instead of using an additional grpc call to call from the Admin component
to the node grpc service, the Admin component uses directly the QueryContext
to answer query requests.
@igalshilman igalshilman removed their request for review October 31, 2024 16:23
@tillrohrmann tillrohrmann merged commit cf92f26 into restatedev:main Oct 31, 2024
12 checks passed
@tillrohrmann tillrohrmann deleted the pr2173 branch October 31, 2024 16:33
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