Join GitHub today
mon,osd: add crush_version to OSDMap, and allow crush map updates to gate on crush_version #15533
We need to increase the version whenever the crushmap is modified via ceph osd new etc. This probably is the most likely source of race. Uploading a crushmap on a regular basis is going to be done by the mgr and no other. Adding / removing OSDs / buckets is going to be done by the sysadmin and will race against optimization.