]> git-server-git.apps.pok.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, 11 May 2023 16:08:56 +0000 (12:08 -0400)
commit70254f324180949f28f674da463fec66b0f53d5b
treeca3a9c0b657e2e64de5dcbe5d41624897eaad0b0
parent30d1463eb77268b4245e6a69ba10b8d1ef361a4d
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