diff options
Diffstat (limited to 'jstests/libs/check_unique_indexes.js')
-rw-r--r-- | jstests/libs/check_unique_indexes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/libs/check_unique_indexes.js b/jstests/libs/check_unique_indexes.js index 9decdbded64..b64532c98f8 100644 --- a/jstests/libs/check_unique_indexes.js +++ b/jstests/libs/check_unique_indexes.js @@ -29,7 +29,7 @@ function checkUniqueIndexFormatVersion(adminDB) { let currentCollection = currentDatabase.getCollection(c.name); currentCollection.getIndexes().forEach(function(index) { - if (index.unique) { + if (index.unique && !index.clustered) { let ifv = currentCollection.aggregate({$collStats: {storageStats: {}}}) .next() .storageStats.indexDetails[index.name] |