]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd: drop misdirected ops
authorKefu Chai <kchai@redhat.com>
Tue, 25 Aug 2020 09:30:00 +0000 (17:30 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 25 Aug 2020 10:40:07 +0000 (18:40 +0800)
commite307b9aefb4b0d8735db00b361e12f2d0eda95a2
tree8d2c1e4a706f7a8471b6979152649fa6fc5fd2c9
parent5fbfeaadba7a2e5d0538a16c2fad39dc9d74c55b
crimson/osd: drop misdirected ops

see also `PrimaryLogPG::do_op()`, we should ignore the ops hitting us if
we are not supposed to serve them. this happens when the client is using
a stale osdmap.

Fixes: https://tracker.ceph.com/issues/47031
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/osd_operations/client_request.cc
src/crimson/osd/osd_operations/client_request.h
src/crimson/osd/pg.h