]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd/pg_backend:: rollback to support resolved head
authorMatan Breizman <mbreizma@redhat.com>
Wed, 15 Mar 2023 10:00:29 +0000 (10:00 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Sun, 21 May 2023 09:34:47 +0000 (09:34 +0000)
commit7572fcdddd26807effa5e26cf5843fa99cffb70a
tree3eb7e3d06c58ff9059a6a16cacec879adefa4d87
parente3ec40a75099c9d4e506d24dfee6655af002e952
crimson/osd/pg_backend:: rollback to support resolved head

Consider the following `resolve_oid()` case:
```
    // Because oid.snap > ss.seq, we are trying to read from a snapshot
    // taken after the most recent write to this object. Read from head.
```
In this case, a no-op is expected as the head object can read from.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit 18f3a67cb53c473fd74a92ab7d5211dff63b88fa)
src/crimson/osd/pg_backend.cc