Introduce worker services and wire them up with meta's REST endpoint #419
Closed
tillrohrmann wants to merge 3 commits intorestatedev:mainfrom
tillrohrmann:issue#408
Closed
Introduce worker services and wire them up with meta's REST endpoint #419tillrohrmann wants to merge 3 commits intorestatedev:mainfrom tillrohrmann:issue#408
tillrohrmann wants to merge 3 commits intorestatedev:mainfrom
tillrohrmann:issue#408
Conversation
The kill command fails an invocation with the error code 10 which represents the aborted grpc status code. Moreover, it sends an abort message to the invoker to stop executing this invocation. If the specified service invocation is not executing (invoked or suspended), then the command will be ignored. This fixes #406.
This commit introduces the worker services which receive WorkerCommands. The worker commands will be forwarded to the correct partition processor by proposing the command to the consensus module. The meta's REST endpoint can communicate with the worker services via an in-memory channel. This fixes #408.
slinkydeveloper
approved these changes
May 18, 2023
Contributor
|
I'm gonna base my code on this PR and then merge all together |
Contributor
|
Merged in #422 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is based on #418. Only the last commit is relevant for this PR.
This commit introduces the worker services which receive WorkerCommands.
The worker commands will be forwarded to the correct partition processor
by proposing the command to the consensus module.
The meta's REST endpoint can communicate with the worker services via an
in-memory channel.
This fixes #408.