mirror of
https://github.com/ceph/ceph
synced 2024-12-28 06:23:08 +00:00
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:
parent
b3bb8922d0
commit
22828b9a4e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user