opensrp / opensrp-client-eusm

OpenSRP client for EUSM
Other
0 stars 1 forks source link

EUSM 1.0 : Sync toast shows sync complete even though sync is not 100% complete #139

Open AnnieMungai opened 8 months ago

AnnieMungai commented 8 months ago

When new service points are created on web, and user tries to sync them down, it is taking sometime for them to appear. The issue is not how long sync takes but rather how it is communicated. I have noticed a bug where you get a series of toasts saying that sync is complete yet it is still ongoing. Therefore one might check on a service point when it has not actually been synced yet.

Originally posted by @hilpitome in https://github.com/opensrp/opensrp-client-eusm/issues/137#issuecomment-1923115361

hilpitome commented 8 months ago

Investigating whether the sync is complete methods are showing due to:

  1. Sync complete message being shown when one type of sync is done e.g Tasks, Location etc instead of when everything is synced.
  2. Calculation errors in case the total number of total records on the server vs the number of records on the db is being used to evaluate sync progress.