]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: track prior_set_lost
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Mon, 18 Oct 2010 20:44:51 +0000 (13:44 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Fri, 22 Oct 2010 00:31:58 +0000 (17:31 -0700)
commite3a53bbfe0e59f0de28f9e998f6f492161618f51
treed62668e5b1cf6c6798d6422206842c4531f1eb7d
parent794cf707200a918ad9446ca17750914c80a50dcd
osd: track prior_set_lost

In the placement group code, track prior_set_lost. This fixes a bug
where a new OSDMap updates an OSD's lost_at time, but the PG code does
not update the PG data structures.

When clearing the peering state, call clear_prior() rather than manually
clearing every prior set.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
src/osd/PG.cc
src/osd/PG.h