]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: force op resend when pool overlay changes
authorSage Weil <sage@inktank.com>
Thu, 8 May 2014 17:42:42 +0000 (10:42 -0700)
committerSage Weil <sage@inktank.com>
Sat, 10 May 2014 16:12:26 +0000 (09:12 -0700)
commit63d92ab0969357f78fdade749785136a509bc81b
tree8fe994f14f52ca025b868e7ab6f2ea6c98e6ed1a
parent45e79a17a932192995f8328ae9f6e8a2a6348d10
mon/OSDMonitor: force op resend when pool overlay changes

If a client is sending a sequence of ops (say, a, b, c, d) and partway
through that sequence it receives an OSDMap update that changes the
overlay, the ops will get send to different pools, and the replies will
come back completely out of order.

To fix this, force a resend of all outstanding ops any time the overlay
changes.

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