Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
messages/MOSDMap: mark as enlighten OSDMap encoder
Back in 7009440 we require that anyone encoding an OSDMap pass in a special feature bit indicating that they are 'enlightened' and understand the rules around encoding OSDMaps (basically, only mons get to do it). We forgot to update MOSDMap, which may have to reencode an OSDMap without some features to talk to a really old client. We haven't noticed until now because the old set of features we had to do this for are really old. We are about to introduce new features (for addr2 encoding) that change that, and this fix is needed to prevent an assert when doing a reencode. Signed-off-by: Sage Weil <sage@redhat.com>
- Loading branch information