mirror of
https://github.com/ceph/ceph
synced 2024-12-19 09:57:05 +00:00
Merge pull request #14711 from jcsp/wip-19738
mon: don't call propose_pending in prepare_update() Reviewed-by: Sage Weil <sage@redhat.com> Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
a952f84bd1
@ -510,8 +510,8 @@ bool MgrMonitor::prepare_command(MonOpRequestRef op)
|
||||
}
|
||||
}
|
||||
|
||||
if (changed) {
|
||||
tick();
|
||||
if (changed && pending_map.active_gid == 0) {
|
||||
promote_standby();
|
||||
}
|
||||
} else {
|
||||
r = -ENOSYS;
|
||||
|
Loading…
Reference in New Issue
Block a user