mirror of
https://github.com/ceph/ceph
synced 2025-01-18 00:43:38 +00:00
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:
parent
c323e59930
commit
2b14df40ef
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user