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

Send end-of-stream request to all active sessions before solar terminates #93

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

mycognosist
Copy link
Owner

This behaviour is not spec'd out for EBT so I'm simply following the defined behaviour for classic replication streams.

When solar receives a termination signal, any active EBT session peers are sent an RPC message with both the stream and end/err flags set and a JSON body of true. Upon receiving such a request, a solar peer will send one in response (this is probably unnecessary but seems like good practice nonetheless).

Manyverse does not appear to implement this behaviour; no end-of-stream RPC message is received when terminating Manyverse during an active session (at least not that I can detect). I would much rather have explicit communication in this case.

@mycognosist mycognosist added the enhancement New feature or request label Feb 6, 2024
@mycognosist mycognosist merged commit 7a346d6 into main Feb 6, 2024
1 check passed
@mycognosist mycognosist deleted the implement_ebt_stream_termination branch February 6, 2024 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant