We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用子事务屏障的 barrier.MongoCall,修改数据时总是会报WriteConflict,用mongo-go-driver的事务正常
The text was updated successfully, but these errors were encountered:
判断error,返回状态425,最终都成功了
Sorry, something went wrong.
没太明白你的问题,能否给个复现你问题的例子代码?放在github上某个仓库里?
模拟高并发下的分布式事务,同时修改一条数据,barrier.MongoCall会返回WriteConflict异常,直接用mongo-driver没有出现过异常
你跟踪调试一下呢?这个我没遇见过,对mongo不是很熟
No branches or pull requests
使用子事务屏障的 barrier.MongoCall,修改数据时总是会报WriteConflict,用mongo-go-driver的事务正常
The text was updated successfully, but these errors were encountered: