]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: osdmap: do not assert target_v when encoding under stretch mode 40483/head
authorGreg Farnum <gfarnum@redhat.com>
Tue, 30 Mar 2021 00:56:13 +0000 (00:56 +0000)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 31 Mar 2021 07:14:42 +0000 (07:14 +0000)
commit589de8b9cbb4e9fc8e70d77a2a5f58a3049918a0
tree8bad58f8a945fc382a34c35f0204011f7b8f7e9e
parent48886aa12a351919d8165d449c2fb72a896fc589
osd: osdmap: do not assert target_v when encoding under stretch mode

As in dd63a3e21fb6d63b8951a6542fb09f98b79b8cd6 for the OSDMap, this
caused crashes when encoding for kernel clients, and is unnecessary
for servers because they are separately gated.

I did a full audit of every instance of "assert" I added to the codebase
to make sure this is the very last one of these issues.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/mon/MonmapMonitor.cc
src/osd/OSDMap.cc