Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add readers to a node in one operation vs N #138

Open
MrCreosote opened this issue Mar 21, 2022 · 2 comments
Open

Add readers to a node in one operation vs N #138

MrCreosote opened this issue Mar 21, 2022 · 2 comments

Comments

@MrCreosote
Copy link
Member

No idea why I did it this way in the first place...
https://docs.mongodb.com/manual/reference/operator/update/addToSet/#-each-modifier

@MrCreosote
Copy link
Member Author

@MrCreosote
Copy link
Member Author

MrCreosote commented Mar 21, 2022

No idea why I did it this way in the first place...

Probably because adding multiple users to a read ACL at the same time virtually never happens.
IOW, this is super low priority. Adding a single reader to multiple nodes would have a much bigger performance benefit in KBase land.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant