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

Adjust retryable settings for database errors #1850

Open
neekolas opened this issue Apr 10, 2025 · 0 comments
Open

Adjust retryable settings for database errors #1850

neekolas opened this issue Apr 10, 2025 · 0 comments
Assignees

Comments

@neekolas
Copy link
Contributor

I noticed that there were some types of StorageError that are currently treated as "not retryable" in libxmtp, but may occur randomly due to database load or even lock contention.

If one of those non-retryable errors was hit while processing a valid commit, the client would move on to the next commit and throw away the message leading to a fork.

This task would be to audit all of the storage-related errors and make sure that the retryability is correct, and then release it into a client SDK version that we can use to stress test forking with a real app like Convos.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants