]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: change mon_globalid_prealloc to 10000 (from 100)
authorSage Weil <sage@redhat.com>
Sun, 18 Jan 2015 18:39:25 +0000 (10:39 -0800)
committerSage Weil <sage@redhat.com>
Mon, 21 Sep 2015 18:01:02 +0000 (14:01 -0400)
commitf545a0f430bf6f1e26983fc0ff20a645697f017c
tree47cc85f31aedac5cd3b7b80a8e7898c50a2d716d
parent4b0889567d7fe28ef6976f8dbb0d329b03200986
mon: change mon_globalid_prealloc to 10000 (from 100)

100 ids (session 100 authentications) can be consumed quite quickly if
the monitor is being queried by the CLI via scripts or on a large cluster,
especially if the propose interval is long (many seconds).  These live in
a 64-bit value and are only "lost" if we have a mon election before they
are consumed, so there's no real risk here.

Backport: giant, firefly
Reviewed-by: Joao Eduardo Luis <joao@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 1d1215fe5f95c2bafee5b670cdae1353104636a0)
src/common/config_opts.h