]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/hobject_t: correctly decode pre-infernalis hobject_t min 5509/head
authorSage Weil <sage@redhat.com>
Mon, 3 Aug 2015 15:53:09 +0000 (11:53 -0400)
committerSage Weil <sage@redhat.com>
Mon, 3 Aug 2015 15:53:09 +0000 (11:53 -0400)
commit1ca6bf60e92734b5f34b2d29eea64eec5864800a
treec72da5fe32a944ed8573d1fddfab62b41bbb8b3d
parent1320e29dfaee9995409a6d99b9ccaa748dc67b90
common/hobject_t: correctly decode pre-infernalis hobject_t min

In commit ff99af38df830e215359bfb8837bf310a2023a4d we changed
the value of hobject_t() (the min value) but did not handle
compatibility properly.  Compensate by correctly decoding older
OSDs' notion of hobject_t min and mapping it to ours.

The hammer stable branch will have to compensate similarly so that
it can map our min value to its old min.

Fixes: #12536
Signed-off-by: Sage Weil <sage@redhat.com>
src/common/hobject.cc