]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PeeringState: refine pg_committed_to semantics
authorSamuel Just <sjust@redhat.com>
Thu, 28 Mar 2024 00:52:25 +0000 (17:52 -0700)
committerSamuel Just <sjust@redhat.com>
Fri, 18 Oct 2024 20:33:57 +0000 (20:33 +0000)
commit9d72303f96949b20ef756d9cc2fe87f39bf09953
tree12db38513be884254818aadddbe8836e9d7050ec
parenta5f66eef9d603e092b8b4bf0a9a89f6e040dfc17
osd/PeeringState: refine pg_committed_to semantics

Avoid maintaining pg_committed_to if pg is not active.  We can't
guarantee that last_update won't become divergent, so it doesn't
provide useful information.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/PeeringState.cc
src/osd/PeeringState.h