]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: osdmap: do not assert target_v when encoding under stretch mode 40484/head
authorGreg Farnum <gfarnum@redhat.com>
Tue, 30 Mar 2021 00:56:13 +0000 (00:56 +0000)
committerGreg Farnum <gfarnum@redhat.com>
Mon, 3 May 2021 21:53:40 +0000 (21:53 +0000)
commit9453e34ea7c480ddfea8363cbad76cf1e2d46625
tree86f94e9e1b3e58080c2e48e694e45e6bb0db1929
parentc3eb38a36c0c45cef90767e221fcd53eebe27be9
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>
(cherry picked from commit 589de8b9cbb4e9fc8e70d77a2a5f58a3049918a0)
src/mon/MonmapMonitor.cc
src/osd/OSDMap.cc