]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: set last_force_resend_prenautilus for pg_num_pending changes
authorSage Weil <sage@redhat.com>
Fri, 6 Apr 2018 16:26:26 +0000 (11:26 -0500)
committerSage Weil <sage@redhat.com>
Fri, 7 Sep 2018 17:08:40 +0000 (12:08 -0500)
commitfffd50cee09b9ce7e70668ac099881c49b2129da
tree0c9935db60332934cac0335689e4c3790f34216c
parent9426dc4c2b60066c4da58b2f831f4622e6d72345
mon/OSDMonitor: set last_force_resend_prenautilus for pg_num_pending changes

This will force pre-nautilus clients to resend ops when we are adjusting
pg_num_pending.  This is a big hammer: for nautilus+ clients, we only have
an interval change for the affected PGs (the two PGs that are about to
merge), whereas this compat hack will do an op resend for the whole pool.
However, it is better than requiring all clients be upgraded to nautilus in
order to do PG merges.

Note that we already do the same thing for pre-luminous clients both for
splits, so we've already inflicted similar pain the past (and, to my
knowledge, have not seen any negative feedback or fallout from that).

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc