]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/PGMap: send pg create messages to primary, not acting[0] 1404/head
authorSage Weil <sage@inktank.com>
Fri, 7 Mar 2014 22:02:26 +0000 (14:02 -0800)
committerSage Weil <sage@inktank.com>
Fri, 7 Mar 2014 22:02:26 +0000 (14:02 -0800)
commit8d52fb70e19f6f14542d2d66b8ca05017004345f
treec6154575d1b23c07681337ef7124470fab972112
parentc8b34f19b32e5ae6b0a6a4cd9d4a13b1ed2f81e4
mon/PGMap: send pg create messages to primary, not acting[0]

For erasure pools, these may not match.

In the case of #7652, this caused pg_create messages to be send
indefinitely.  register_pg() added it to the list for acting_primary, and
when we got the (non-creating) pg stat update we removed it from the list
for acting[0].

Fixes: #7652
Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/PGMap.cc