]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_objectstore_tool: Bug fixes and test improvements
authorDavid Zafman <dzafman@redhat.com>
Wed, 20 Aug 2014 08:33:45 +0000 (01:33 -0700)
committerDavid Zafman <dzafman@redhat.com>
Thu, 28 Aug 2014 23:22:15 +0000 (16:22 -0700)
commita03f719eb3a46f410550afce313e6720e0c27946
treef28efc2fd2090495f41fab8a593cc7e4b028ccf3
parent23ec93a86140c4b271b45d87c62682288079cbba
ceph_objectstore_tool: Bug fixes and test improvements

ceph_objectgstore_tool:
Fix bugs in the way collection_list_partial() was being called
which caused objects to be seen over and over again.

Unit test:
Fix get_objs() to walk pg tree for pg with sub-directories
Create more objects to test object listing code
Limit number of larger objects
Limit number of objects which get attributes and omaps

Signed-off-by: David Zafman <dzafman@redhat.com>
src/test/ceph_objectstore_tool.py
src/tools/ceph_objectstore_tool.cc