]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/MgrMonitor: limit mgrmap history 19187/head
authorSage Weil <sage@redhat.com>
Mon, 27 Nov 2017 22:45:25 +0000 (16:45 -0600)
committerSage Weil <sage@redhat.com>
Tue, 28 Nov 2017 16:25:26 +0000 (10:25 -0600)
commit82c9e3dbe1b6ff04feae76a089d1a821c3ed819f
tree3077da8c6c07fcce498f5386069045e7d778173b
parent3bd0007d5f1c991a80ff80fc2b7bb983ceee971e
mon/MgrMonitor: limit mgrmap history

Keep 500 by default (like we do osdmaps and mdsmaps).

Fixes: http://tracker.ceph.com/issues/22257
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 00fa8b10990f945f3e875c9850eedeb65af3fd2e)

[removed const from get_trim_to() for luminous]
src/common/options.cc
src/mon/MgrMonitor.cc
src/mon/MgrMonitor.h