Skip to content
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

Optimising reset sync #1339

Open
mahalakshme opened this issue Mar 8, 2024 · 0 comments
Open

Optimising reset sync #1339

mahalakshme opened this issue Mar 8, 2024 · 0 comments

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Mar 8, 2024

Current scenario:

-- Necessary improvements to make the sync specific to subject type is already made
-- With change of address level we are doing full reset, since its complex to handle and not a frequent scenario
-- Reference data need not be deleted when doing reset sync

Improvements that can be made:

  • when a user has reset sync and fast sync both, the fast sync is downloaded and then the user is presented with option to reset sync, which can be confusing - https://app.zenhub.com/workspaces/avni-product-deprecated-635b73bded85e50018871ae6/issues/gh/avniproject/avni-server/471 - very less probability
  • Do not delete the non scoped entities when doing full reset sync
    --- there are around 51 non-scope entity and with concept also being non-scoped(with some orgs with 5000 concepts), - this can save around 3 min for the user
  • When few addresses are removed/added to a catchment, do a selective sync instead of full reset sync
  • Better user messages:
    ----- In getSyncDetails show FetchingChangedResource
    ----- When doing getResetSyncData show 'Checking if your settings are updated'
    ----- When doing ResetSync() show 'Resetting data since your settings are updated'
    ----- For all the above 3, add the necessary platform translations
@mahalakshme mahalakshme converted this from a draft issue Mar 8, 2024
@mahalakshme mahalakshme changed the title Reset sync and fast sync Optimising reset sync Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Analysis
Development

No branches or pull requests

1 participant