]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd/pg: add peer_activated
authorKefu Chai <kchai@redhat.com>
Tue, 5 Mar 2019 12:55:45 +0000 (20:55 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 22 Mar 2019 05:21:33 +0000 (13:21 +0800)
commitf36bd19a33b7d4237f21af1c6433dfd7eb8c475c
tree47125bd34b71ee8ea26a425ff8de46109bbe86a1
parentafddf28846b2d114421d5a8853a6e2bbd805de9e
crimson/osd/pg: add peer_activated

add facilities for updating peer_activated. it is used for tracking the
peers has activated and committed. once all of them ack the activation
proposed by primary, the PG is considered activated.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/pg.cc
src/crimson/osd/pg.h