]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd/pg: remove incorrect map epoch check in PG::submit_transasction 49935/head
authorSamuel Just <sjust@redhat.com>
Mon, 30 Jan 2023 06:20:27 +0000 (22:20 -0800)
committerSamuel Just <sjust@redhat.com>
Tue, 31 Jan 2023 04:34:43 +0000 (20:34 -0800)
commitab91b7c3d3b73bb34d2e98e895e0f8a7d9199a6f
treef921887aeb007e005c32478be831fd015fef14f4
parenta389c319e07da702d0fc5432d046f7d5cc8cb7e4
crimson/osd/pg: remove incorrect map epoch check in PG::submit_transasction

It's entirely fine for the map_epoch to change while the op is processed
as long as none of the intervening epochs caused an interval change.  In
general, the correct way to check for an interval change is with
has_reset_since.

We don't need to do this check here at all because IOInterruptCondition
will already have performed it against the captured epoch when the
continuation resumed.

Introduced: 31418020fd58
Fixes: https://tracker.ceph.com/issues/58486
Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/osd/pg.cc