]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Tue, 21 Mar 2023 08:55:28 +0000 (08:55 +0000)
commit18f3a67cb53c473fd74a92ab7d5211dff63b88fa
tree6589883d85e46b63721eca471e0d04bc9d0f174a
parent1e1c4318e7fb4cd3d7f585b3431236904ccaea31
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>
src/crimson/osd/pg_backend.cc