From 62e1593cde6677eb889c5baca192caed98f2fb5d Mon Sep 17 00:00:00 2001 From: Haomai Wang Date: Sun, 30 Aug 2015 22:12:29 +0800 Subject: [PATCH] KeyValueStore: Fix broken assert statement Signed-off-by: Haomai Wang --- src/os/GenericObjectMap.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/os/GenericObjectMap.cc b/src/os/GenericObjectMap.cc index 8567d30af29e..62f052f730db 100644 --- a/src/os/GenericObjectMap.cc +++ b/src/os/GenericObjectMap.cc @@ -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; -- 2.47.3