]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
KeyValueStore: Fix broken assert statement 5713/head
authorHaomai Wang <haomaiwang@gmail.com>
Sun, 30 Aug 2015 14:12:29 +0000 (22:12 +0800)
committerHaomai Wang <haomaiwang@gmail.com>
Sun, 30 Aug 2015 14:12:29 +0000 (22:12 +0800)
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
src/os/GenericObjectMap.cc

index 8567d30af29e9ac880bf2543ecaf8cc7f2689c6d..62f052f730db2b4ea9f70fa7bd43043a16b02a1e 100644 (file)
@@ -157,7 +157,6 @@ string GenericObjectMap::header_key(const coll_t &cid, const ghobject_t &oid)
   full_name += string(buf);
 
   if (oid.generation != ghobject_t::NO_GEN) {
-    assert(oid.shard_id != shard_id_t::NO_SHARD);
     full_name.append(GHOBJECT_KEY_SEP_S);
 
     t = buf;