Skip to content

reset / fix broken/partial download of dictionary #1024

Open
@megahirt

Description

@megahirt

I have observed users who only received part of the dictionary to the client due to flaky/inconsistent internet. This results in a broken language forge for the user which they cannot fix by themselves without using the Dev Tools and clearing the IndexDB cache. What they experience is that the number of entries is less on their install vs the actual number of entries (some failed to download).

The current code uses a timestamp to determine if it should download all the dictionary or just updates since a timestamp.

Possible solutions:

  • Evaluate if the number of entries on the client is equal to the number of entries on the server. If they are not equal, delete the timestamp and redownload.
  • Don't save the timestamp on download until it is confirmed that the entries are equal on client and server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn existing problem with our app in production

    Type

    No type

    Projects

    Status

    To Do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions