]> 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>
Sun, 18 Jan 2015 18:39:25 +0000 (10:39 -0800)
commit1d1215fe5f95c2bafee5b670cdae1353104636a0
treef363ae1fe94cd160c3a727155717044912cb7add
parentbe1416a04409d2ccc5662577f64d8f41414c4f64
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>
src/common/config_opts.h