]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/PG: send release to remote reservations in progress
authorSage Weil <sage@redhat.com>
Fri, 27 Oct 2017 22:37:47 +0000 (17:37 -0500)
committerSage Weil <sage@redhat.com>
Fri, 27 Oct 2017 22:37:47 +0000 (17:37 -0500)
commit81c3e4f868e7b264452a379f27fcfcc0f060b5ae
tree11cbf6a446b98da3b84b2f9dac251de85dacccb6
parentc1e652a4547d89b889954ca4bdb82506ca0f1d83
osd/PG: send release to remote reservations in progress

If we have a REQUEST outstanding and then cancel, send a RELEASE to the
REQUEST target too, so that they too can clean up.  This avoids leaving
the replica in the RepRecovering state when the primary is restarting
the whole reservation process.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc