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

fix: race condition singleton records #1495

Conversation

TimoGlastra
Copy link
Contributor

Fixes #968

This just handles the multiple creation and then erroring of signleton records.

We still have an issue with multiple writes to the same document, which we should be able to fix with locks

@TimoGlastra TimoGlastra requested a review from a team as a code owner July 5, 2023 12:14
@TimoGlastra TimoGlastra enabled auto-merge (squash) July 5, 2023 12:18
@TimoGlastra TimoGlastra merged commit 6c2dda5 into openwallet-foundation:main Jul 5, 2023
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

Successfully merging this pull request may close these issues.

RecordDuplicateError: CacheRecord: Record with id DID_POOL_CACHE already exists
2 participants