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

is uniqueConstraint.js isolated across a single collection? #21

Open
steve-torchia opened this issue Dec 15, 2017 · 0 comments
Open

is uniqueConstraint.js isolated across a single collection? #21

steve-torchia opened this issue Dec 15, 2017 · 0 comments

Comments

@steve-torchia
Copy link

steve-torchia commented Dec 15, 2017

We need per-collection (not per-partition) uniqueness for our problem domain. I just want to confirm that uniqueConstraint.js is indeed safe for that. For example if two creates come in at the same time with the same unique value, one will win and the other will return to the calling client with a "unique constraint violation" or something similar.

thank you!

@steve-torchia steve-torchia changed the title is uniqueConstraint.js work collection-wide is uniqueConstraint.js Dec 15, 2017
@steve-torchia steve-torchia changed the title is uniqueConstraint.js is uniqueConstraint.js isolated across a single collection? Dec 15, 2017
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