]> 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>
Mon, 10 Apr 2023 18:44:47 +0000 (14:44 -0400)
commit96dc69d996fbb4bf7b1758c10c0d7e8aeea67287
tree02a9a414c0ee3732193375e5bd9cf4db24475532
parentf5a95d071de867a0228cc5c97a0763135ac69510
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