]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: do not omit shard when ghobject NO_GEN is set
authorLoic Dachary <ldachary@redhat.com>
Fri, 14 Nov 2014 00:16:10 +0000 (01:16 +0100)
committerLoic Dachary <ldachary@redhat.com>
Sat, 15 Nov 2014 22:27:15 +0000 (23:27 +0100)
commitdcf09aed121f566221f539106d10283a09f15cf5
treef45a7c62440cf360ded99ddd21677564a4c4bca8
parent6d04b3c13ab403abba1595ee5d98e31580a95f3f
common: do not omit shard when ghobject NO_GEN is set

Do not silence the display of shard_id when generation is NO_GEN.
Erasure coded objects JSON representation used by ceph_objectstore_tool
need the shard_id to find the file containing the chunk.

Minimal testing is added to ceph_objectstore_tool.py

http://tracker.ceph.com/issues/10063 Fixes: #10063

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/common/hobject.cc
src/test/ceph_objectstore_tool.py