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

SimpleMessenger: allow RESETSESSION whenever we forget an endpoint #3070

Merged
merged 1 commit into from Dec 11, 2014

Conversation

gregsfortytwo
Copy link
Member

Allow session reset if we see an incoming connection from somebody we don't recognize but who thinks they know us.

This has already been reviewed by Sage.

@gregsfortytwo
Copy link
Member Author

Can @athanatos or @liewegas pull this into a testing branch at their convenience?

In the past (e229f84) we decided to disable
reset of lossless Pipes, because lossless peers resetting caused trouble and
they can't forget about each other. But they actually can: if mark_down()
is called.

I can't figure out how else we could forget about a remote endpoint, so I think
it's okay if we tell them we reset in order to clean up state. That's desirable
so that we don't get into strange situations with out-of-whack counters.

Fixes: #10080
Backport: giant, firefly, dumpling

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
athanatos pushed a commit that referenced this pull request Dec 11, 2014
SimpleMessenger: allow RESETSESSION whenever we forget an endpoint

Reviewed-by: Sage Weil <sage@redhat.com>
@athanatos athanatos merged commit 81af475 into master Dec 11, 2014
@athanatos athanatos deleted the wip-10080 branch December 11, 2014 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants