]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
objectstore_tool: parse new object description format
authorLoic Dachary <ldachary@redhat.com>
Wed, 26 Nov 2014 23:11:45 +0000 (00:11 +0100)
committerDavid Zafman <dzafman@redhat.com>
Tue, 3 Mar 2015 19:20:58 +0000 (11:20 -0800)
commitf30e053fe7b3e5efc679b20cf1b3e2f7f8ed7e54
treee38c2e28be9321fb7d4cf74a6f6ad1c79dc65ca2
parentfce87c9d7dbb51989826d068d6b6657a2f3d129d
objectstore_tool: parse new object description format

The object format changed from

    {json object}

to

    [pgid,{json object}]

The parser is updated accordingly. If the --pgid is present, check that
it equals the pgid from the object description.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
(cherry picked from commit df9d5c5cfd8b0ff793647a592c7661965cef5c92)
src/tools/ceph_objectstore_tool.cc