diff options
author | David Storch <david.storch@10gen.com> | 2019-07-19 18:30:33 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2019-07-26 16:05:59 -0400 |
commit | 94fcb7d03e08014bb6a20ab010539811548d9e83 (patch) | |
tree | e44d2d923f59e0430645a13c3844f367cfa1bdb3 /src/mongo/db/pipeline/document_source_check_invalidate.cpp | |
parent | dc4db514a1ee737db0553f9535033453502b3ac7 (diff) | |
download | mongo-94fcb7d03e08014bb6a20ab010539811548d9e83.tar.gz |
SERVER-42288 Consolidate Document and WorkingSetMember metadata implementations.
Diffstat (limited to 'src/mongo/db/pipeline/document_source_check_invalidate.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_check_invalidate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_check_invalidate.cpp b/src/mongo/db/pipeline/document_source_check_invalidate.cpp index 276f7edb5b9..376e0dc97c9 100644 --- a/src/mongo/db/pipeline/document_source_check_invalidate.cpp +++ b/src/mongo/db/pipeline/document_source_check_invalidate.cpp @@ -107,7 +107,7 @@ DocumentSource::GetNextResult DocumentSourceCheckInvalidate::getNext() { // We set the resume token as the document's sort key in both the sharded and non-sharded // cases, since we will later rely upon it to generate a correct postBatchResumeToken. We // must therefore update the sort key to match the new resume token that we generated above. - result.setSortKeyMetaField(resumeTokenDoc.toBson()); + result.metadata().setSortKey(resumeTokenDoc.toBson()); _queuedInvalidate = result.freeze(); } |