-
Notifications
You must be signed in to change notification settings - Fork 9
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
Concurrency issue in sync #1406
Comments
@vinayvenu let me know the details that APF reported - it might not be a concurrency issue also - did they they any user name etc., |
…the Makefile. Use make: Nothing to be done for `../..'. instead
…s it is always being set in the controller
…ected in the server
This is working as designed. Verified client calls, added test in server to ensure this does not happen. adb logs attached
|
@AchalaBelokar to test: when an entry, say encounter is created when sync is happening, the encounter should not get synced to the mobile device. @vinayvenu I think we can add this in readme as sync behavior, will help implementors when debugging. may be here: https://avni.readme.io/docs/internal-details-of-avni-sync#other-tidbits - currently it tells data in the server for more than 10 secs which is not right since it is "start of the sync time" - 10secs right? |
Done |
Scenario
When an encounter sync takes a long time, there could be individuals and encounters created, causing sync errors. We should always have a single endDate(now) for the entire duration of the sync.
Acceptance criteria
The text was updated successfully, but these errors were encountered: