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

End of stream message #1012

Merged

Conversation

slinkydeveloper
Copy link
Contributor

@slinkydeveloper
Copy link
Contributor Author

I updated this PR based on restatedev/service-protocol#61

Copy link
Contributor

@tillrohrmann tillrohrmann left a comment

Choose a reason for hiding this comment

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

Thanks for creating this PR @slinkydeveloper. The changes look good to me. I had one clarifying question about the newly introduce caching of journal appends.

Copy link
Contributor

@tillrohrmann tillrohrmann left a comment

Choose a reason for hiding this comment

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

Thanks for updating this PR @slinkydeveloper. The changes look good to me. +1 for merging after resolving the last few comments.

…da8bd..8a5b9770

8a5b9770 Reintroduce error message (restatedev#61)
5417feeb Modify End of Stream. (restatedev#51)

git-subtree-dir: crates/service-protocol/service-protocol
git-subtree-split: 8a5b9770425dc8c6683ab744c0d5abb258e04467
* Handle EndMessage in invoker
* Remove special handling of OutputStreamEntry. This is now not needed anymore.
* Update RemoteContext to support EndMessage.
  In order to support EndMessage with a similar behavior to the invoker/PP, we now first write the output stream entry, then on EndMessage we transition to Done and send the result back. To support read your own writes, the StateTransitions (now StateAndJournalTransitions) supports deferring the creation of append journal entry effects.
* Update wireshark protocol dissector
@slinkydeveloper slinkydeveloper merged commit 19590d9 into restatedev:main Dec 21, 2023
4 checks passed
@slinkydeveloper slinkydeveloper deleted the service-protocol/issues/49 branch December 21, 2023 14:39
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.

2 participants