We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d9d8b8 commit 8f2ec15Copy full SHA for 8f2ec15
packages/compass-indexes/src/modules/search-indexes.ts
@@ -609,7 +609,7 @@ const fetchIndexes = (
609
const mongoDBMajorVersion = parseFloat(
610
serverVersion.split('.').slice(0, 2).join('.')
611
);
612
- if (isReadonlyView || mongoDBMajorVersion < 8.1 || !isWritable) {
+ if ((isReadonlyView && mongoDBMajorVersion < 8.1) || !isWritable) {
613
return; // fetch for views 8.1+
614
}
615
0 commit comments