summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Just <sam.just@inktank.com>2012-12-04 20:36:58 +0100
committerYehuda Sadeh <yehuda@inktank.com>2012-12-08 07:36:36 +0100
commitfc58299eea15782f1f4ce7f7788a6c89be2aa188 (patch)
tree99c79fe69e8aa5bb2150fc1c9c243cbe14f8e75d
parentauth: set default auth_client_required (diff)
downloadceph-fc58299eea15782f1f4ce7f7788a6c89be2aa188.tar.xz
ceph-fc58299eea15782f1f4ce7f7788a6c89be2aa188.zip
PG: remove last_epoch_started asserts in proc_primary_info
These asserts are valid for a uniform cluster, but they won't hold for a replica running a version without the info.last_epoch_started patch. Signed-off-by: Samuel Just <sam.just@inktank.com> Reviewed-by: Greg Farnum <greg@inktank.com> (cherry picked from commit 0756052cff542ab02d653b40c37a645b395f31b3)
-rw-r--r--src/osd/PG.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/osd/PG.cc b/src/osd/PG.cc
index b81bfed36f4..93f1e919ba8 100644
--- a/src/osd/PG.cc
+++ b/src/osd/PG.cc
@@ -4530,10 +4530,6 @@ void PG::proc_primary_info(ObjectStore::Transaction &t, const pg_info_t &oinfo)
dirty_info = true;
osd->reg_last_pg_scrub(info.pgid, info.history.last_scrub_stamp);
- assert(oinfo.last_epoch_started == info.last_epoch_started);
- assert(info.history.last_epoch_started == oinfo.last_epoch_started);
- assert(oinfo.history.last_epoch_started == oinfo.last_epoch_started);
-
// Handle changes to purged_snaps ONLY IF we have caught up
if (last_complete_ondisk.epoch >= info.history.last_epoch_started) {
interval_set<snapid_t> p;