diff options
Diffstat (limited to 'src/mongo/db/commands/run_aggregate.cpp')
-rw-r--r-- | src/mongo/db/commands/run_aggregate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/commands/run_aggregate.cpp b/src/mongo/db/commands/run_aggregate.cpp index 8b7d7fd7863..3bd009146ad 100644 --- a/src/mongo/db/commands/run_aggregate.cpp +++ b/src/mongo/db/commands/run_aggregate.cpp @@ -381,8 +381,9 @@ void _adjustChangeStreamReadConcern(OperationContext* opCtx) { repl::ReadConcernArgs::MajorityReadMechanism::kSpeculative); } } + // Wait for read concern again since we changed the original read concern. - uassertStatusOK(waitForReadConcern(opCtx, readConcernArgs, true)); + uassertStatusOK(waitForReadConcern(opCtx, readConcernArgs, true, "aggregate")); } } // namespace |