You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Recent changes in PR #2053 allow two sync workers to run concurrently.
This can lead to inconsistencies if a manual one-time sync and a periodic sync overlap.
The problem arises because both workers might attempt to upload resources in a conflicting order, potentially causing:
Upload of older resources before newer ones
Overwriting of data
Component
Fhir Engine Library
To Reproduce
Steps to reproduce the behavior:
Not sure how to reproduce as it requires concurrent running of the workers to sync resources that can cause inconsistency.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Device: [e.g. Pixel4a emulator]
Android version: [e.g. Settings -> About phone -> Android version]
Build number: [e.g. Settings -> About phone -> Build number]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Would you like to work on the issue?
Please state if this issue should be assigned to you or who you think could help to solve this issue.
The text was updated successfully, but these errors were encountered:
MJ1998
changed the title
Manual sync can lead to data inconsistency if periodic sync is running
Sync Workers can run parallelly causing data inconsistency
Jan 7, 2024
MJ1998
changed the title
Sync Workers can run parallelly causing data inconsistency
Sync Workers can run paralelly causing data inconsistency
Jan 7, 2024
MJ1998
changed the title
Sync Workers can run paralelly causing data inconsistency
Concurrent Sync Worker execution can lead to data inconsistencies
Jan 7, 2024
Describe the bug
Recent changes in PR #2053 allow two sync workers to run concurrently.
This can lead to inconsistencies if a manual one-time sync and a periodic sync overlap.
The problem arises because both workers might attempt to upload resources in a conflicting order, potentially causing:
Component
Fhir Engine Library
To Reproduce
Steps to reproduce the behavior:
Not sure how to reproduce as it requires concurrent running of the workers to sync resources that can cause inconsistency.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Would you like to work on the issue?
Please state if this issue should be assigned to you or who you think could help to solve this issue.
The text was updated successfully, but these errors were encountered: