diff options
author | Samuel Just <samuel.just@dreamhost.com> | 2012-04-27 11:25:19 -0700 |
---|---|---|
committer | Samuel Just <samuel.just@dreamhost.com> | 2012-04-27 11:46:34 -0700 |
commit | 155700d67e8a90314770f7a57597ba922483b645 (patch) | |
tree | 48a72587708d94a685c4b115a2da10c551a666d1 | |
parent | dbd99129ce58b321c0ecd641a1f8b45bd94b3b33 (diff) | |
download | ceph-155700d67e8a90314770f7a57597ba922483b645.tar.gz |
PG: in GetInfo Notify handler, fix peer_info_requested filter
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
-rw-r--r-- | src/osd/PG.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/PG.cc b/src/osd/PG.cc index a6a7fc5b628..0b83f7dcb85 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -4421,7 +4421,7 @@ boost::statechart::result PG::RecoveryState::GetInfo::react(const MNotifyRec& in while (p != peer_info_requested.end()) { if (prior_set->probe.count(*p) == 0) { dout(20) << " dropping osd." << *p << " from info_requested, no longer in probe set" << dendl; - peer_info_requested.erase(++p); + peer_info_requested.erase(p++); } else { ++p; } |