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

[错误报告]: 偶发出现 删除数据时打印了sql但未删除成功;查询数据时会偶发出现两次count(1)返回的不一样,有时候返回1,有时候返回0 #6614

Open
3 tasks done
lanbao1987 opened this issue Nov 29, 2024 · 1 comment

Comments

@lanbao1987
Copy link

确认

  • 我使用的版本是最新版, 并且使用插件确认过项目里无依赖版本冲突
  • 我已经在 issue 中搜索过, 确认问题没有被提出过
  • 我已经修改标题, 将标题中的 描述 替换为遇到的问题

当前程序版本

3.5.6

问题描述

升级jdk到17后,mybatis plus升级到3.5.6
上线跑一段时间发现两个问题:

  1. 偶发出现 删除数据时打印了sql但数据库未删除成功,
  2. 偶发出现 查询数据时会两次count(1)返回的不一样,有时候返回1,有时候返回0

我看mybatis plus 3.5.8有说修复removeMapper缓存清理不完全的问题,是解决问题1么

详细堆栈日志

No response

@miemieYaho
Copy link
Member

修复的和你说的东西没关系,偶发你就只能自己排查你的代码

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