]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: make pool_snap_info_t encoding backward compatible
authorSage Weil <sage@inktank.com>
Tue, 30 Oct 2012 16:00:11 +0000 (09:00 -0700)
committerSage Weil <sage@inktank.com>
Tue, 30 Oct 2012 16:00:11 +0000 (09:00 -0700)
commit7a82a3214a38cbc7b5750adba23b760a4f51643a
tree25705f61bd9dc29cccbecddba3a60412bf302a93
parent8d7ca76182fdc04aaf8b698afbbd2d9b22e07fdc
osd: make pool_snap_info_t encoding backward compatible

Way back in fc869dee1e8a1c90c93cb7e678563772fb1c51fb (v0.42) when we redid
the osd type encoding we forgot to make this conditionally encode the old
format for old clients.  In particular, this means that kernel clients
will fail to decode the osdmap if there is a rados pool with a pool-level
snapshot defined.

Fixes: #3290
Signed-off-by: Sage Weil <sage@inktank.com>
Conflicts:

src/test/encoding/types.h
src/include/encoding.h
src/osd/osd_types.cc
src/osd/osd_types.h