]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/AuthMonitor: add option to skip non-mon cap parsing 36961/head
authorJosh Durgin <jdurgin@redhat.com>
Thu, 3 Sep 2020 04:24:02 +0000 (04:24 +0000)
committerJosh Durgin <jdurgin@redhat.com>
Fri, 4 Sep 2020 21:52:42 +0000 (21:52 +0000)
commit30ee6eb6d3bcb341d32e374d7490b75a15f4cdb6
tree5c4698d0b42496905aff53c78c975ed5fda3021d
parent0916e950a6043dfe362e8a1310eb52a443f71703
mon/AuthMonitor: add option to skip non-mon cap parsing

The monitor is not always the same version as the daemons, so it may
not always treat the caps the same. This parsing is also quite cpu
intensive, and is just a usability feature here - it's checked again
on the relevant daemon when the entity connects. Thus, provide an
option to disable this parsing. Leave it on by default for better
usability.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
src/common/options.cc
src/mon/AuthMonitor.cc