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

Fail fast if two ApolloStores use the same underlying database #3564

Open
Tracked by #2331
martinbonnin opened this issue Nov 17, 2021 · 0 comments
Open
Tracked by #2331

Fail fast if two ApolloStores use the same underlying database #3564

martinbonnin opened this issue Nov 17, 2021 · 0 comments

Comments

@martinbonnin
Copy link
Contributor

Because the database lock belongs to ApolloStore, using two ApolloStore (and therefore two locks) can lead to Concurrent modification exceptions.

We could catch those cases early to give better diagnostics.

@martinbonnin martinbonnin changed the title Fail fast if to ApolloStore use the same underlying database Fail fast if two ApolloStores use the same underlying database May 17, 2024
@BoD BoD changed the title Fail fast if two ApolloStores use the same underlying database Fail fast if two ApolloStores use the same underlying database Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant