summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage
diff options
context:
space:
mode:
authorLouis Williams <louis.williams@mongodb.com>2021-04-06 09:18:10 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-06 13:47:03 +0000
commit9813adfb617761dc9d37a841138754ab3177fffd (patch)
tree928f28b2d674a185b3d3a697883a484a38b8aad1 /src/mongo/db/storage
parent18081d9a2125d2ed9464272fbe7468b83063f9e1 (diff)
downloadmongo-9813adfb617761dc9d37a841138754ab3177fffd.tar.gz
SERVER-55559 StorageInterfaceImpl should use bounded collection scans on clustered collections
Diffstat (limited to 'src/mongo/db/storage')
-rw-r--r--src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_kv_engine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_kv_engine.cpp b/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_kv_engine.cpp
index 9fb3be20719..bf7f2e5a943 100644
--- a/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_kv_engine.cpp
+++ b/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_kv_engine.cpp
@@ -70,6 +70,7 @@ Status KVEngine::createRecordStore(OperationContext* opCtx,
StringData ns,
StringData ident,
const CollectionOptions& options) {
+ uassert(5555900, "The 'clusteredIndex' option is not supported", !options.clusteredIndex);
stdx::lock_guard lock(_identsLock);
_idents[ident.toString()] = true;
return Status::OK();