]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: do not omit shard when ghobject NO_GEN is set 3088/head
authorLoic Dachary <ldachary@redhat.com>
Fri, 14 Nov 2014 00:16:10 +0000 (01:16 +0100)
committerLoic Dachary <ldachary@redhat.com>
Thu, 4 Dec 2014 21:39:12 +0000 (22:39 +0100)
commitbff67475c775914237604ed3374c8ccfe74d0ffd
tree8730e269f4d3b802b966a67137a4030402034a73
parent81295c5ad2befced2e308c1cfb4e036cd5a825a9
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>
(cherry picked from commit dcf09aed121f566221f539106d10283a09f15cf5)
src/common/hobject.cc
src/test/ceph_objectstore_tool.py