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

[BUG] How to ensure data consistency between redis and mongo when sending messages #3080

Open
plum330 opened this issue Jan 23, 2025 · 0 comments
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@plum330
Copy link

plum330 commented Jan 23, 2025

OpenIM Server Version

All Version

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

When sending messages, if the writing to redis is successful, then kafka will be asynchronously persisted to mongo. If writing to kafka fails at this time, the data between redis and mongo will be inconsistent, resulting in message loss.

Screenshots Link

No response

@plum330 plum330 added the bug Categorizes issue or PR as related to a bug. label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant