crimson/osd: fix missed OpSequencer::abort() on primary change.

Commit b5efdc6f1c has unified
the interruption handling among `InternalClientRequest` and
`ClientRequest`. Unfortunately, a call to `abort()` of
`OpSequencer` has been overlooked and dropped. This was causing
crashes at Sepia after after fixing the ordering issues in
`ClientRequest`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
This commit is contained in:
Radoslaw Zarzynski 2021-06-15 00:05:20 +00:00
parent c323e59930
commit 2b14df40ef

View File

@ -125,6 +125,7 @@ seastar::future<> ClientRequest::start()
});
}, [this, pgref](std::exception_ptr eptr) {
if (should_abort_request(*this, std::move(eptr))) {
sequencer.abort();
return seastar::stop_iteration::yes;
} else {
sequencer.maybe_reset(*this);