Commit Graph
2464 Commits
Author SHA1 Message Date
DigitalSonic 851eb96673 slightly modify
Use ConcurrentHashMap instead of HashMap in RandomDataSourceValidateThread.
Add some Log in StickyRandomDataSourceSelector.
Add some test cases for StickyRandomDataSourceSelect.
2019-02-02 16:12:23 +08:00
DigitalSonic b6c90db170 Enhance RandomDataSourceSelector
1. shorten the checking interval when validate failed
2. provide some parameters in higher level
3. add a sleep before validation (default 0)
4. validate the DataSource concurrently
2019-02-01 18:21:16 +08:00
DigitalSonic 65fafdb67a add a special prefix into ha-datasource properties file
In order to put HA Datasource properties and other properties altogether into one properties file, HighAvailableDataSource add a new field named propertyPrefix.
2018-12-13 00:15:47 +08:00
wenshao 6ce53e3203 add more error info. 2018-09-21 16:24:21 +08:00
wenshao 7aad235c3c DruidDataSource add property phyMaxUseCount & shrinkQuietly. 2018-09-19 11:33:45 +08:00
温绍锦 40ad7f9dc3 Merge pull request #2723 from digitalsonic/master
修复HADataSource的健康检查问题
2018-09-14 21:37:45 +08:00
温绍锦 3633d126d4 Merge pull request #2735 from xiaoma20082008/master
h2数据库支持解析完整的insert set语句为单条以及参数化输出时支持char类型的数据
2018-09-14 21:36:59 +08:00
wenshao 03845a41be DruidDataSource support config 'initExceptionThrow' 2018-09-12 20:34:40 +08:00
wenshao e92e385609 bug fixed for sql parser, for issue #2773 2018-08-28 17:38:17 +08:00
wenshao cece46e9ea add testcase. 2018-08-28 17:32:01 +08:00
wenshao 22843bc8e2 bug fixed for mysql parser, support unsigned type. 2018-08-28 17:27:54 +08:00
wenshao 14c151ba06 bug fixed for initExceptionThrow 2018-08-22 18:06:03 +08:00
wenshao a40071a3cb DruidDataSource support initExceptionThrow config. 2018-08-22 17:29:26 +08:00
DigitalSonic cc60085bd1 Merge remote-tracking branch 'alibaba/master' 2018-08-06 00:14:16 +08:00
DigitalSonic f355d62981 split the getter/setter for selector
Some old versions of Spring Framework would check the getter/setter of
a bean property. While they were not the same type, exception would be
thrown.
So selector’s getter&setter are all String now.
2018-08-05 23:42:59 +08:00
xiaoma20082008 b368d6f5c1 Merge branch 'master' into master 2018-08-02 22:39:58 +08:00
xiaoma20082008 1be6d04a9a feat:1.h2 database's insert statement support set statement,2: support char instead of 'java.lang.Character' when SQLASTOutputVisitor visit prepared sql and the inputParameters has a char value 2018-08-02 22:15:45 +08:00
wenshao b3572b7601 bug fixed for mysql parser, for issue #2718 2018-07-20 09:47:43 +08:00
wenshao 00a9b92ca1 improved mysql parser support. 2018-06-21 09:54:08 +08:00
wenshao 3d7a66ff3f removed duplicate method. 2018-05-31 15:13:40 +08:00
wenshao 6c3154e33d improved sql paser for mysql. issue #2611 2018-05-31 14:32:25 +08:00
wenshao ca38876d1e improved sql paser for aliyun analyticdb. 2018-05-31 13:51:32 +08:00
wenshao 9c8b14bd4a bug fixed for sql parser nchar literal support. for issue #2558 2018-05-28 09:57:16 +08:00
wenshao 84541241f7 bug fixed for sql parser. for issue #2488 2018-05-27 16:38:55 +08:00
wenshao d4b2318663 bug fixed for schema stat. for issue #2319 2018-05-27 14:45:58 +08:00
wenshao d274b8a87a bug fixed for sql parser. for issue #2544 2018-05-27 14:03:21 +08:00
wenshao 58fd40919d add testcase. 2018-05-27 13:49:28 +08:00
wenshao 6c1dee0004 bug fixed for SQLBetweenExpr output. for issue #2593 2018-05-27 13:45:05 +08:00
wenshao f45e3203f9 bug fixed for issue #2582 2018-05-17 21:12:02 +08:00
温绍锦 d0a0aaf073 Merge pull request #2485 from digitalsonic/master
为Druid增加URL占位符,使得Druid的一个DataSource可以同时连接多个目标
2018-05-17 20:43:56 +08:00
wenshao a2dd353b0d improved h2 support. for issue #2555 2018-05-07 21:16:36 +08:00
DigitalSonic 2b3c50c8b3 Delete URL Filter related codes committed previously 2018-05-05 23:25:49 +08:00
DigitalSonic ed3861395c Add a HA DataSource implementation 2018-05-05 23:23:46 +08:00
wenshao 802ada35dd improved db2 parser. for issue #2548 2018-05-05 16:59:55 +08:00
wenshao 7de08da610 improved oracle parser. 2018-05-05 16:36:08 +08:00
wenshao 85da7cb9d5 add testcase for issue #2545 2018-05-03 14:10:58 +08:00
wenshao e46178831a improved DruidDataSource executeStatistic. 2018-05-03 14:04:23 +08:00
wenshao c8d8409d30 improved sql parser. 2018-04-24 13:47:12 +08:00
wenshao 236226991b sql parser add refactor api. 2018-04-23 01:15:35 +08:00
wenshao 28ac367003 sql parameterized support unmerge or list. for issue #2500 2018-04-20 16:55:58 +08:00
wenshao 7ce110d5b6 fixed testcase. 2018-04-20 09:40:39 +08:00
wenshao 863ba9a053 improved SchemaStatVisitor. bug fixed for issue #2509 2018-04-20 09:32:13 +08:00
wenshao 13670a431a improved hiver support. for issue 2510 2018-04-19 23:38:33 +08:00
wenshao aff53dfb7c improved db2 & oracle parser. 2018-04-16 14:52:25 +08:00
wenshao b6cb168019 improved db2 parser, for issue #2487 2018-04-16 00:15:31 +08:00
wenshao 0acd0c76df improved db2 parser support. for issue #2489 2018-04-16 00:03:21 +08:00
DigitalSonic 64be5cc703 补充测试,重构代码 2018-04-12 23:16:18 +08:00
wenshao 3ea9c0c8ba improved postgresql parser. for issue #2484 2018-04-12 20:55:22 +08:00
wenshao b84e7b946a improved mysql & pg parser. for issue #2483 2018-04-12 20:39:29 +08:00
DigitalSonic 5c50f0f37a 增加JDBC URL占位符替换功能
根据配置文件,对URL中的占位符进行替换,同时提供定时健康检查的功能,可剔除不可用节点。
2018-04-11 09:02:06 +08:00