From: Sage Weil Date: Fri, 20 May 2011 22:08:06 +0000 (-0700) Subject: osd: update last_epoch_clean in PG::Info::History::merge() X-Git-Tag: v0.28.1~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4a83de183230c74cbc6874a2c60a76c26369ed5b;p=ceph.git osd: update last_epoch_clean in PG::Info::History::merge() Signed-off-by: Sage Weil --- diff --git a/src/osd/PG.h b/src/osd/PG.h index 9389acb2c0ff4..985cd95fec3d6 100644 --- a/src/osd/PG.h +++ b/src/osd/PG.h @@ -202,6 +202,8 @@ public: epoch_created = other.epoch_created; if (last_epoch_started < other.last_epoch_started) last_epoch_started = other.last_epoch_started; + if (last_epoch_clean < other.last_epoch_clean) + last_epoch_clean = other.last_epoch_clean; if (last_epoch_split < other.last_epoch_started) last_epoch_split = other.last_epoch_started; if (other.last_scrub > last_scrub)