diff options
Diffstat (limited to 'src/mongo/s/client/shard_remote.h')
-rw-r--r-- | src/mongo/s/client/shard_remote.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mongo/s/client/shard_remote.h b/src/mongo/s/client/shard_remote.h index 908ebf33eee..c7f6931d77e 100644 --- a/src/mongo/s/client/shard_remote.h +++ b/src/mongo/s/client/shard_remote.h @@ -70,7 +70,7 @@ public: bool isRetriableError(ErrorCodes::Error code, RetryPolicy options) final; - Status createIndexOnConfig(OperationContext* txn, + Status createIndexOnConfig(OperationContext* opCtx, const NamespaceString& ns, const BSONObj& keys, bool unique) override; @@ -80,16 +80,17 @@ private: * Returns the metadata that should be used when running commands against this shard with * the given read preference. */ - BSONObj _appendMetadataForCommand(OperationContext* txn, const ReadPreferenceSetting& readPref); + BSONObj _appendMetadataForCommand(OperationContext* opCtx, + const ReadPreferenceSetting& readPref); - Shard::HostWithResponse _runCommand(OperationContext* txn, + Shard::HostWithResponse _runCommand(OperationContext* opCtx, const ReadPreferenceSetting& readPref, const std::string& dbname, Milliseconds maxTimeMSOverride, const BSONObj& cmdObj) final; StatusWith<QueryResponse> _exhaustiveFindOnConfig( - OperationContext* txn, + OperationContext* opCtx, const ReadPreferenceSetting& readPref, const repl::ReadConcernLevel& readConcernLevel, const NamespaceString& nss, |