From 88d8200c14bdc5ba6003d3663766ff6783ee506f Mon Sep 17 00:00:00 2001 From: Tim Sander Date: Thu, 28 Jan 2021 16:26:47 -0500 Subject: [PATCH] Check that customer is using Mongo 3.6 before applying index everything policy (#410) --- src/Explorer/Panes/AddCollectionPane.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Explorer/Panes/AddCollectionPane.ts b/src/Explorer/Panes/AddCollectionPane.ts index 5b70a3539..9466f95e4 100644 --- a/src/Explorer/Panes/AddCollectionPane.ts +++ b/src/Explorer/Panes/AddCollectionPane.ts @@ -818,7 +818,7 @@ export default class AddCollectionPane extends ContextualPaneBase { let indexingPolicy: DataModels.IndexingPolicy; let createMongoWildcardIndex: boolean; // todo - remove mongo indexing policy ticket # 616274 - if (this.container.isPreferredApiMongoDB()) { + if (this.container.isPreferredApiMongoDB() && this.container.isEnableMongoCapabilityPresent()) { createMongoWildcardIndex = this.shouldCreateMongoWildcardIndex(); } else if (this.showIndexingOptionsForSharedThroughput()) { if (this.useIndexingForSharedThroughput()) {