Race condition for storeWeightLog
Open
bug
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
The current implementation of `storeWeightLog` runs into a race condition. This can lead to data loss, if request are made fast enough. The reason is, that the current state of the data in the storage is retrieved with `retrieveData` and the result is handled in a callback, leading to asynchronous handling.
Contributor guide
Assessment
This issue has not been assessed yet.