Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

load/save race condition #72

Open
bridiver opened this issue Sep 2, 2018 · 0 comments
Open

load/save race condition #72

bridiver opened this issue Sep 2, 2018 · 0 comments

Comments

@bridiver
Copy link
Contributor

bridiver commented Sep 2, 2018

There is a potential race condition because save and load are async. It's possible that the same publisher info record could be loaded in different places (the UI and the library for instance) and then the last save will win and overwrite the first one. A record version field could be used to check and update within a db transaction.

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

No branches or pull requests

1 participant