@@ -812,7 +812,7 @@ private TResult ExecuteReadOperation<TResult>(IClientSessionHandle session, IRea
812812 {
813813 var readPreference = explicitReadPreference ?? session . GetEffectiveReadPreference ( _settings . ReadPreference ) ;
814814 using var operationContext = CreateOperationContext ( session , timeout , operation . OperationName , null , cancellationToken ) ;
815- return _operationExecutor . ExecuteReadOperation ( operationContext , session , operation , readPreference , true ) ;
815+ return _operationExecutor . ExecuteReadOperation ( operationContext , operation , readPreference , true ) ;
816816 }
817817
818818 private Task < TResult > ExecuteReadOperationAsync < TResult > ( IClientSessionHandle session , IReadOperation < TResult > operation , TimeSpan ? timeout , CancellationToken cancellationToken )
@@ -822,19 +822,19 @@ private async Task<TResult> ExecuteReadOperationAsync<TResult>(IClientSessionHan
822822 {
823823 var readPreference = explicitReadPreference ?? session . GetEffectiveReadPreference ( _settings . ReadPreference ) ;
824824 using var operationContext = CreateOperationContext ( session , timeout , operation . OperationName , null , cancellationToken ) ;
825- return await _operationExecutor . ExecuteReadOperationAsync ( operationContext , session , operation , readPreference , true ) . ConfigureAwait ( false ) ;
825+ return await _operationExecutor . ExecuteReadOperationAsync ( operationContext , operation , readPreference , true ) . ConfigureAwait ( false ) ;
826826 }
827827
828828 private TResult ExecuteWriteOperation < TResult > ( IClientSessionHandle session , IWriteOperation < TResult > operation , TimeSpan ? timeout , string collectionName , CancellationToken cancellationToken )
829829 {
830830 using var operationContext = CreateOperationContext ( session , timeout , operation . OperationName , collectionName , cancellationToken ) ;
831- return _operationExecutor . ExecuteWriteOperation ( operationContext , session , operation , true ) ;
831+ return _operationExecutor . ExecuteWriteOperation ( operationContext , operation , true ) ;
832832 }
833833
834834 private async Task < TResult > ExecuteWriteOperationAsync < TResult > ( IClientSessionHandle session , IWriteOperation < TResult > operation , TimeSpan ? timeout , string collectionName , CancellationToken cancellationToken )
835835 {
836836 using var operationContext = CreateOperationContext ( session , timeout , operation . OperationName , collectionName , cancellationToken ) ;
837- return await _operationExecutor . ExecuteWriteOperationAsync ( operationContext , session , operation , true ) . ConfigureAwait ( false ) ;
837+ return await _operationExecutor . ExecuteWriteOperationAsync ( operationContext , operation , true ) . ConfigureAwait ( false ) ;
838838 }
839839
840840 private IEnumerable < string > ExtractCollectionNames ( IEnumerable < BsonDocument > collections )
0 commit comments