]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd: drop pending ops when pg interval changes
authorKefu Chai <kchai@redhat.com>
Mon, 22 Feb 2021 07:58:14 +0000 (15:58 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 23 Feb 2021 06:54:54 +0000 (14:54 +0800)
commit3b6f962810766cad258910237684ccb405e4e4b2
treef47fd296876587e7ef64a0d4f39e93bd5bd89b4c
parent2a9d726fbb6d0bb18020b79ac376839e5dd79067
crimson/osd: drop pending ops when pg interval changes

fullfill the promises of pending ops when pg interval changes, so
we can drop them if the primary osd is changed as well.

note, this behavior depends on interruptable future.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/osd_operation_sequencer.h
src/crimson/osd/osd_operations/client_request.cc