osd: PG::Info::History: init last_epoch_clean

It seems that we have not been zeroing
PG::Info::History:last_epoch_clean when the History structure is
created. This led to some very interesting log output (and bugs!)

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
This commit is contained in:
Colin Patrick McCabe 2010-12-28 17:03:12 -08:00
parent b3bb8922d0
commit 22828b9a4e

View File

@ -128,7 +128,7 @@ public:
History() :
epoch_created(0),
last_epoch_started(0), last_epoch_split(0),
last_epoch_started(0), last_epoch_clean(0), last_epoch_split(0),
same_up_since(0), same_acting_since(0), same_primary_since(0) {}
void merge(const History &other) {