From: Samuel Just Date: Fri, 18 Apr 2014 20:59:22 +0000 (-0700) Subject: Revert "ReplicatedPG::get_snapset_context: assert snap obj is not missing" X-Git-Tag: v0.80-rc1~18^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f9e9365fdac7d333cd2add8aa6919ac32c48dc37;p=ceph.git Revert "ReplicatedPG::get_snapset_context: assert snap obj is not missing" This breaks mark_lost_unfound_revert. This reverts commit 0d2177a18071ad9c9581826a43751c36bab5b2db. --- diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index b64ed390ab91..64e2f3d04733 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -7215,10 +7215,6 @@ SnapSetContext *ReplicatedPG::get_snapset_context( bool can_create, map *attrs) { - // ensure that snap obj is not missing - assert(attrs || - (!pg_log.get_missing().is_missing(oid.get_head()) && - !pg_log.get_missing().is_missing(oid.get_snapdir()))); Mutex::Locker l(snapset_contexts_lock); SnapSetContext *ssc; map::iterator p = snapset_contexts.find(