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

Update server to work with new service protocol contract #1000

Merged
merged 3 commits into from
Dec 18, 2023

Conversation

tillrohrmann
Copy link
Contributor

This PR requires restatedev/service-protocol#58 to be merged first.

This commit pulls in the latest service protocol changes.
It updates the server to handle GetState, Sleep and
PollInputStreamEntryMessage as fallible (having an error case).

This fixes #999.

Copy link
Contributor

@slinkydeveloper slinkydeveloper left a comment

Choose a reason for hiding this comment

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

LGTM. left some consistency comments.

Please remove the first commit and just re-sync the git subtree (as first commit of this branch)

crates/types/src/journal/entries.rs Outdated Show resolved Hide resolved
crates/types/src/journal/entries.rs Outdated Show resolved Hide resolved
@tillrohrmann
Copy link
Contributor Author

I've addressed your comments @slinkydeveloper. PTAL.

@tillrohrmann
Copy link
Contributor Author

Thanks for the review @slinkydeveloper. Merging this PR now.

…c66ea..185da8bd

185da8bd Extend GetState, PollInputStream and SleeEntryMessage with failure variants

git-subtree-dir: crates/service-protocol/service-protocol
git-subtree-split: 185da8bd37c9e606cc2853623278f5b499e7c7b1
This commit pulls in the latest service protocol changes.
It updates the server to handle GetState, Sleep and
PollInputStreamEntryMessage as fallible (having an error case).

This fixes restatedev#999.
@tillrohrmann tillrohrmann merged commit 0a87fe2 into restatedev:main Dec 18, 2023
@tillrohrmann tillrohrmann deleted the issues/999 branch December 18, 2023 16:34
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.

Update server with the latest service protocol which supports failing all completable journal entries
2 participants