diff options
author | Drew Paroski <drew.paroski@mongodb.com> | 2021-10-13 20:20:05 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-10-16 00:29:02 +0000 |
commit | 1b95b9f923a5bcbdd755672abffc3c14d1a4d7db (patch) | |
tree | 2b9aadbf9e80acfb16758815633f676e8a73eef3 /src/mongo/db/pipeline | |
parent | e77eda3f09dcd2be820b1f1eec7ce8ac6c0cf477 (diff) | |
download | mongo-1b95b9f923a5bcbdd755672abffc3c14d1a4d7db.tar.gz |
SERVER-60273 Calculate the estimated size for missing types in sbe::value::getApproximateSize()
Diffstat (limited to 'src/mongo/db/pipeline')
-rw-r--r-- | src/mongo/db/pipeline/document_source_internal_shard_filter_test.cpp | 4 | ||||
-rw-r--r-- | src/mongo/db/pipeline/process_interface/stub_lookup_single_document_process_interface.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_source_internal_shard_filter_test.cpp b/src/mongo/db/pipeline/document_source_internal_shard_filter_test.cpp index 55a01a23a36..6678f433470 100644 --- a/src/mongo/db/pipeline/document_source_internal_shard_filter_test.cpp +++ b/src/mongo/db/pipeline/document_source_internal_shard_filter_test.cpp @@ -69,6 +69,10 @@ public: bool keyBelongsToMe(const BSONObj& obj) const override { MONGO_UNREACHABLE; } + + size_t getApproximateSize() const override { + MONGO_UNREACHABLE; + } }; /** diff --git a/src/mongo/db/pipeline/process_interface/stub_lookup_single_document_process_interface.h b/src/mongo/db/pipeline/process_interface/stub_lookup_single_document_process_interface.h index 05fbf53349d..40a77f09e14 100644 --- a/src/mongo/db/pipeline/process_interface/stub_lookup_single_document_process_interface.h +++ b/src/mongo/db/pipeline/process_interface/stub_lookup_single_document_process_interface.h @@ -62,6 +62,10 @@ public: bool keyBelongsToMe(const BSONObj& shardKey) const override { MONGO_UNREACHABLE; } + + size_t getApproximateSize() const override { + MONGO_UNREACHABLE; + } }; /** |