diff options
author | Cheahuychou Mao <mao.cheahuychou@gmail.com> | 2023-03-24 00:43:29 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-03-24 01:18:29 +0000 |
commit | f25d83eb3cab293fabd66761ddc24758607c0e54 (patch) | |
tree | 5c2dbb37b77b5af4210989af71532a9096eab2ee /src/mongo/s/analyze_shard_key_role.h | |
parent | be80d6d4c26b741483735259d23bbc0bf46249fa (diff) | |
download | mongo-f25d83eb3cab293fabd66761ddc24758607c0e54.tar.gz |
SERVER-75032 Support _refreshQueryAnalyzerConfiguration command on standalone replica sets
Diffstat (limited to 'src/mongo/s/analyze_shard_key_role.h')
-rw-r--r-- | src/mongo/s/analyze_shard_key_role.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/s/analyze_shard_key_role.h b/src/mongo/s/analyze_shard_key_role.h index e7097c69543..d2a9bf23641 100644 --- a/src/mongo/s/analyze_shard_key_role.h +++ b/src/mongo/s/analyze_shard_key_role.h @@ -29,6 +29,7 @@ #pragma once +#include "mongo/db/operation_context.h" #include "mongo/platform/basic.h" namespace mongo { @@ -36,7 +37,8 @@ namespace analyze_shard_key { bool isFeatureFlagEnabled(bool ignoreFCV = false); -bool supportsCoordinatingQueryAnalysis(bool ignoreFCV = false); +bool supportsCoordinatingQueryAnalysis(bool isReplEnabled, bool ignoreFCV = false); +bool supportsCoordinatingQueryAnalysis(OperationContext* opCtx, bool ignoreFCV = false); bool supportsPersistingSampledQueries(bool ignoreFCV = false); |