Skip to content

Possible data loss with background sync #2599

@engrtitus

Description

@engrtitus

The way background sync works at the moment is

  1. Receives sync event
  2. Removes request from queue and retry
  3. If retry fails, add request back to queue.

This works really well if the network strength is very good.

If the network strength is not (e.g 2g/edge network) .What might happen is.

  1. Receives sync event.
  2. Removes request from queue and retry.

While retrying...a user might close the tab or reload the page.

  1. Request being retried never gets to server and never gets added back to the queue

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions