-
Notifications
You must be signed in to change notification settings - Fork 35
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
End of stream message #1012
Conversation
6fab876
to
33afbe5
Compare
I updated this PR based on restatedev/service-protocol#61 |
33afbe5
to
47c9ed7
Compare
There was a problem hiding this 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.
crates/worker/src/partition/services/non_deterministic/remote_context.rs
Show resolved
Hide resolved
crates/worker/src/partition/services/non_deterministic/remote_context.rs
Outdated
Show resolved
Hide resolved
4fd9c66
to
536f356
Compare
There was a problem hiding this 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.
crates/worker/src/partition/services/non_deterministic/remote_context.rs
Outdated
Show resolved
Hide resolved
crates/worker/src/partition/services/non_deterministic/remote_context.rs
Outdated
Show resolved
Hide resolved
…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
6ff472d
to
19590d9
Compare
Part of restatedev/service-protocol#49