Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

auto clearCache when needed (on broken state) #1873

Closed
1 task done
td-famedly opened this issue Jul 4, 2024 · 2 comments
Closed
1 task done

auto clearCache when needed (on broken state) #1873

td-famedly opened this issue Jul 4, 2024 · 2 comments

Comments

@td-famedly
Copy link
Member

Preflight Checklist

  • I could not find a solution in the existing issues, docs, nor discussions

Describe your problem

We sometimes have bugs in the SDK which break the database, f.ex we recently had a bug where we would apply older state events (fixed by #1846). Unless you clearCache, users are going to keep facing those bugs.

Describe your ideal solution

When we fix such a bug, the SDK should automatically clear the cache on first startup.

Version

No response

Security requirements

No response

Additional Context

No response

@herr-rodrigo
Copy link

this is actually already in place by updating the version of the DB.

@td-famedly
Copy link
Member Author

just bump the database version which should do it

@td-famedly td-famedly closed this as not planned Won't fix, can't repro, duplicate, stale Jul 15, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants