]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: do not proxy reads unless all OSDs proxy features too
authorSage Weil <sage@redhat.com>
Mon, 16 Feb 2015 22:18:40 +0000 (14:18 -0800)
committerSage Weil <sage@redhat.com>
Mon, 23 Feb 2015 18:10:54 +0000 (10:10 -0800)
commit30c904ea673c48fe16fa135083479ea6f7b61ebf
tree1b65ef86f054bbe48ae69c745434f2dc893618ef
parente0e765f9dd84be7af65887a101740f9fce22c3bd
osd: do not proxy reads unless all OSDs proxy features too

Specifically, the object_copy_data_t encoding changed such that the reply
encoding is dependent on features; if we proxy such a read to an old
OSD it will use *our* features to encode instead of the original OSD's.

This effectively conditionally reverts 8e145e08ede625adfb5d41216d7777d6c9707bd0
when the cluster features aren't all present.

Fixes: #10788
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/ReplicatedPG.cc