]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: do not omit shard when ghobject NO_GEN is set 3089/head
authorLoic Dachary <ldachary@redhat.com>
Fri, 14 Nov 2014 00:16:10 +0000 (01:16 +0100)
committerLoic Dachary <ldachary@redhat.com>
Fri, 5 Dec 2014 00:00:32 +0000 (01:00 +0100)
commitb4a4b75e6d4deb6818681902f85baa9f63acdb4f
treef4397217bbddcc212505a2636479ae174d3eb121
parentcb2c83b2f216e503f7a52115f775bda1dbfe0c6a
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)

Conflicts:
src/test/ceph_objectstore_tool.py
src/common/hobject.cc