-
Notifications
You must be signed in to change notification settings - Fork 696
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
咨询! #153
Comments
补偿任务扫描消息时是会附带一个限定条件的:消息的更新时间和当前时间要有一定间隔,这样就保证了大多数情况下不会处理到正在发送的消息。所以实际发生的概率非常低。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
消息发送成功,删除本地消息前,补充任务正好执行扫描到数据库中这条消息(因为并发还没删除掉),重新投递了。
消费者做了幂等,也没有问题。我想问的是这样的概率在实际使用中,发生的概率多大!
The text was updated successfully, but these errors were encountered: