Backport #38460
Updated by Nathan Cutler over 4 years ago
https://github.com/ceph/ceph/pull/26613
https://github.com/ceph/ceph/pull/27639 (follow-on fix that went in post-12.2.2)
https://github.com/ceph/ceph/pull/27639 (follow-on fix that went in post-12.2.2)