diff --git a/lib/storage/metadata/mongoclient/MongoClientInterface.js b/lib/storage/metadata/mongoclient/MongoClientInterface.js index 6af2d1a17..47e0325c1 100644 --- a/lib/storage/metadata/mongoclient/MongoClientInterface.js +++ b/lib/storage/metadata/mongoclient/MongoClientInterface.js @@ -2099,7 +2099,7 @@ class MongoClientInterface { let bucketCount = 0; const bucketInfos = []; - this.db.listCollections().toArray().then(collInfos => + this.db.listCollections({ filter: { type: 'collection' } }).toArray().then(collInfos => async.eachLimit(collInfos, 10, (value, next) => { if (this._isSpecialCollection(value.name)) { // skip diff --git a/package.json b/package.json index 618874138..e5224d149 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "engines": { "node": ">=16" }, - "version": "8.1.135", + "version": "8.1.136", "description": "Common utilities for the S3 project components", "main": "build/index.js", "repository": {