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

读取消息缓存与数据库没有去重, 数据不会重复? #9

Open
liangjfblue opened this issue Nov 1, 2024 · 0 comments
Open

Comments

@liangjfblue
Copy link

list, err = s.GetHistoryMessageList(req)

我理解是 没全部读取全/缓存没数据, 就从mysql中读取; 但是如果缓存有部分数据, 则缓存数据和mysql数据合并, 这里没有去重逻辑, 数据不会重复?

同时, 客户端传的reqIds是怎么知道要读哪些消息的? 谢谢

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

1 participant