-
Notifications
You must be signed in to change notification settings - Fork 370
Open
Description
In my company, we are using this library. I am guessing it's no longer maintained but I thought it would be worth creating an issue, in case someone else comes across with the same issue.
This library creates an index for querying the collection
node_acl/lib/mongodb-backend.js
Line 138 in 1f064cc
collection.ensureIndex({_bucketname: 1, key: 1}, function(err){ |
The problem appears when setting the useSingle
to false, as we are querying the collections using the {key:<value>}
node_acl/lib/mongodb-backend.js
Line 116 in 1f064cc
var updateParams = (self.useSingle? {_bucketname: bucket, key:key} : {key:key}); |
meaning we are not using the created index resulting to slow queries not taking advantage of the index.
Metadata
Metadata
Assignees
Labels
No labels