From: Josh Durgin Date: Thu, 3 Sep 2020 04:24:02 +0000 (+0000) Subject: mon/AuthMonitor: add option to skip non-mon cap parsing X-Git-Tag: v17.0.0~1182^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=30ee6eb6d3bcb341d32e374d7490b75a15f4cdb6;p=ceph.git 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 --- diff --git a/src/common/options.cc b/src/common/options.cc index 919241515b9fd..8fc58752b519b 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -2150,6 +2150,14 @@ std::vector