]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDMap: don't set weight to IN when OSD is destroyed 13730/head
authorIlya Dryomov <idryomov@gmail.com>
Wed, 1 Mar 2017 16:19:04 +0000 (17:19 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 1 Mar 2017 18:20:38 +0000 (19:20 +0100)
commita6009d1039a55e2c77f431662b3d6cc5a8e8e63f
tree6789ddbf6f57a5a3ba46ebd40244f479bceea8c5
parentfec59e80ef2c1330296d748e2fee124ca652d4b2
osd/OSDMap: don't set weight to IN when OSD is destroyed

Since commit 4e28f9e63644 ("osd/OSDMap: clear osd_info, osd_xinfo on
osd deletion"), weight is set to IN when OSD is deleted.  This changes
the result of applying an incremental for clients, not just OSDs.
Because CRUSH computations are obviously affected, pre-4e28f9e63644
servers disagree with post-4e28f9e63644 clients on object placement,
resulting in misdirected requests.

Fixes: http://tracker.ceph.com/issues/19119
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/osd/OSDMap.cc