]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: fix semantic error prepare_update return
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 13 Mar 2023 14:25:55 +0000 (10:25 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 4 May 2023 22:22:24 +0000 (18:22 -0400)
commit0b27d453d5abf006537155264e36257d7f3e5db7
tree5630c859146f6b8d4d13670c61cc205761ac67fd
parent33914ca9465287fb9870c800cf26b49f3182189c
mon: fix semantic error prepare_update return

The return value is used to indicate whether the pending state should be
committed. There is no concept of "handled message" here (unlike
preprocess_query).

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 8caa1fd5abe0fd16e579e10a1ad45a4147994862)
src/mon/MgrMonitor.cc
src/mon/PaxosService.h