-
-
Notifications
You must be signed in to change notification settings - Fork 85
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] [SPI] Data source concurrency exception #513
Comments
Title: 🐛 [Bug] Data source concurrency exception |
Message that will be displayed on users' first issue |
感谢您的反馈,我们将会按照您提供的步骤进行测试并修复它 Thanks for your feedback, we will follow the steps you provided to test and fix it |
代码中存在大量的插件,这是否是一种好的修改方式? 或者修改为原型模式可能不需要修改这么多代码,作为底层插件代码修改是否合理?
} |
建议通过 https://github.com/devlive-community/datacap/blob/dev/CONTRIBUTING.md 这种方式提交代码 |
Contribution guidelines
I've found a bug and checked that ...
server
orweb
themesDescription
当创建多个同类型数据源的时候,这种情况是比较常见的。
例如:mysql1 与mysql2 ,每1s重新加载数据源
mysql2的连接信息很可能覆盖掉mysql1的连接,导致执行sql在其他连接导致不可预知的错误。
成员变量:
方法引用变量:
Expected behaviour
.
Actual behaviour
.
Steps to reproduce
1.准备俩个不同的连接,mysql1,mysql2
2.mysql1 执行慢查询,mysql2 执行将会覆盖 mysq1 的成员属性,MySQLConnection mySQLConnection; Response response;
3.此时mysql1 在执行一条sql语句,导致错误。
Package versions
java --version
node --version
npm -v
./mvnw -Dexec.executable='echo' -Dexec.args='${project.version}' --non-recursive exec:exec -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN -Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.help=INFO | tail -1
Configuration
.
System information
The text was updated successfully, but these errors were encountered: