The existing implementation checks that the currently live
OSDs support the pending crush features, but we don't
actually check that require_osd_release is new enough.
Signed-off-by: Samuel Just <sjust@redhat.com>
<< newmap.require_min_compat_client;
return false;
}
+ if (mv > newmap.require_osd_release) {
+ ss << "new crush map requires client version " << mv
+ << " but require_osd_release is "
+ << newmap.require_osd_release;
+ return false;
+ }
}
// osd compat