diff options
author | David Zafman <david.zafman@inktank.com> | 2013-10-23 19:22:34 -0700 |
---|---|---|
committer | David Zafman <david.zafman@inktank.com> | 2013-10-23 19:22:34 -0700 |
commit | 1d5c85b825ccfda02ff74c29c8540fe60411c958 (patch) | |
tree | 136f84c7a50f3513fcd913d8f560e48f6a2a0d87 | |
parent | fe051d07b7a13dcf1e16c4c2ba582570c04baef1 (diff) | |
download | ceph-1d5c85b825ccfda02ff74c29c8540fe60411c958.tar.gz |
Temporary additional messages for testingwip-5855
-rw-r--r-- | src/osd/PG.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/osd/PG.cc b/src/osd/PG.cc index aa3014e24d3..94cd3b4805b 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -1036,13 +1036,19 @@ bool PG::choose_acting(int& newest_update_osd) //We can only get here when new interval has arrived and //we've accepted the acting set. Now we can create //actingbackfill and backfill_targets vectors. + dout(0) << "choose_acting dump actingonly" << actingonly << dendl; + dout(0) << "choose_acting dump actingbackfill" << actingbackfill << dendl; + dout(0) << "choose_acting dump backfill_targets" << backfill_targets << dendl; + dout(0) << "choose_acting dump backfill" << backfill << dendl; + dout(0) << "choose_acting dump stray_set " << stray_set << dendl; actingbackfill = actingonly; actingbackfill.insert(actingbackfill.end(), backfill.begin(), backfill.end()); assert(backfill_targets.empty() || backfill_targets == backfill); if (backfill_targets.empty()) { backfill_targets = backfill; for (unsigned i = 0; i < backfill.size() ; ++i) { - stray_set.erase(backfill[i]); + if (stray_set.erase(backfill[i]) == 1) + dout(0) << "choose_acting removed " << backfill[i] << " from stray_set" << dendl; } } else { //Will not change if already set because up would have had to change |