Skip to content

Commit

Permalink
Merge pull request #3070 from ceph/wip-10080
Browse files Browse the repository at this point in the history
SimpleMessenger: allow RESETSESSION whenever we forget an endpoint

Reviewed-by: Sage Weil <sage@redhat.com>
  • Loading branch information
Samuel Just committed Dec 11, 2014
2 parents a09a87a + 8cd1fdd commit 81af475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/msg/simple/Pipe.cc
Expand Up @@ -597,7 +597,7 @@ int Pipe::accept()
<< " > " << existing->connect_seq << dendl;
goto replace;
} // existing
else if (policy.resetcheck && connect.connect_seq > 0) {
else if (connect.connect_seq > 0) {
// we reset, and they are opening a new session
ldout(msgr->cct,0) << "accept we reset (peer sent cseq " << connect.connect_seq << "), sending RESETSESSION" << dendl;
msgr->lock.Unlock();
Expand Down

0 comments on commit 81af475

Please sign in to comment.