Skip to content

Commit a69b1c7

Browse files
committed
Fix deleteMany for bucket_parameters to use an index.
1 parent d166170 commit a69b1c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/module-mongodb-storage/src/storage/implementation/MongoSyncBucketStorage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ export class MongoSyncBucketStorage
571571
);
572572
await this.db.bucket_parameters.deleteMany(
573573
{
574-
key: idPrefixFilter<SourceKey>({ g: this.group_id }, ['t', 'k'])
574+
'key.g': this.group_id
575575
},
576576
{ maxTimeMS: lib_mongo.db.MONGO_CLEAR_OPERATION_TIMEOUT_MS }
577577
);

0 commit comments

Comments
 (0)