Commit Graph
4204 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 c7715b7ec3 add default validationQueryTimeout when given 0 2019-02-02 10:25:59 +08:00
DigitalSonic 6b7eccb063 Add an enhanced StickyRandomDataSourceSelector
This selector can stick a DataSource to a Thread in a short time.
2019-02-01 18:22:12 +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
shaojin.wensj c3ec6ed6ee 1.1.14 2019-01-30 22:30:00 +08:00
shaojin.wensj a9fa55033c improved sql parser derby support, bug fixed for issue #3020 2019-01-30 21:12:20 +08:00
shaojin.wensj 212e8f0965 bug fixed for issue #3018 2019-01-30 10:53:30 +08:00
shaojin.wensj f8deab22f6 bug fixed for issue #3045 2019-01-29 16:56:06 +08:00
shaojin.wensj 5d94e2662e update version 2019-01-29 16:25:58 +08:00
shaojin.wensj 0baed9f7ca refactor code, use StringBuilder & remove SimpleDateFormat 2019-01-29 16:13:55 +08:00
shaojin.wensj 2bfaa5d8ea bug fixed for issue #3044 2019-01-28 17:05:28 +08:00
shaojin.wensj 46062863f2 bug fixed for mysql parser & update pom version 2019-01-16 10:28:05 +08:00
shaojin.wensj 74e265aa27 bug fixed for mysql create table parser, for issue #2999 2019-01-04 21:54:06 +08:00
shaojin.wensj 4903a9ad3a code format 2018-12-27 10:08:42 +08:00
shaojin.wensj 5d3e9e0edc improved sql parser for mysql, issue #2984 2018-12-27 10:04:15 +08:00
shaojin.wensj f7bf7cbfaa bug fixed for select distinct, for issue #2989 2018-12-24 13:26:22 +08:00
shaojin.wensj 3211ec39e7 bug fixed for dead lock, for issue #2980 2018-12-21 20:24:47 +08:00
shaojin.wensj 6a6f9b72bd bug fixed for issue #2985 2018-12-21 20:15:03 +08:00
shaojin.wensj a1d9497c2d MBean add getUrl method, for issue #2986 2018-12-21 19:44:43 +08:00
shaojin.wensj 3820eab883 code format 2018-12-13 16:00:47 +08:00
shaojin.wensj 2edd53432b improved init performance. 2018-12-13 15:34:07 +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
shaojin.wensj 26a3af3904 set StringBuilder initial Size, reduce memory copy. 2018-12-03 09:41:15 +08:00
shaojin.wensj 4ffa0525c4 add more error info. 2018-11-23 17:32:50 +08:00
shaojin.wensj 475a848d6f add removeAbandoned warning. 2018-11-01 20:21:11 +08:00
wenshao 6ba791e6ba Merge branch 'master' of https://github.com/alibaba/druid 2018-10-29 09:54:00 +08:00
wenshao 443e91a545 bug fixed for issue #2876 2018-10-29 09:53:29 +08:00
温绍锦 1d85500c99 Merge pull request #2865 from yanhuqing666/patch-1
Fix Parser for Bit-Value Literals
2018-10-26 20:06:02 +08:00
tiger.yan fb8fb8a23e Update MySqlLexer.java 2018-10-17 17:14:12 +08:00
wenshao 66bb235f9b support phyMaxUseCount 2018-10-13 20:09:22 +08:00
wenshao f69e367e65 Merge branch 'master' of https://github.com/alibaba/druid 2018-10-13 19:50:06 +08:00
wenshao 636c7667e6 bug fixed for lexer.info, for issue #2847 2018-10-13 19:49:50 +08:00
memorylorry d9a4511059 add presto支持 2018-09-27 09:26:12 +08:00
wenshao 6ce53e3203 add more error info. 2018-09-21 16:24:21 +08:00
wenshao 4d0980dc14 1.1.12 2018-09-21 16:23:45 +08:00
wenshao 7aad235c3c DruidDataSource add property phyMaxUseCount & shrinkQuietly. 2018-09-19 11:33:45 +08:00
wenshao 7f26a37432 fixed compile. 2018-09-18 12:30:39 +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
温绍锦 70083fa393 Merge pull request #2744 from johnhuang-cn/master
Add support for mysql 8.0.xx driver
2018-09-14 21:28:49 +08:00
wenshao c4e3844056 bug fixed for WebAppStat.getSessionList. 2018-09-12 20:44:21 +08:00
wenshao 03845a41be DruidDataSource support config 'initExceptionThrow' 2018-09-12 20:34:40 +08:00
wenshao bf30592712 bug fixed for getRemoteAddress. 2018-09-12 20:32:40 +08:00
wenshao e92e385609 bug fixed for sql parser, for issue #2773 2018-08-28 17:38:17 +08:00
wenshao c82c70617c bug fixed for sql parser. 2018-08-28 17:32:43 +08:00
wenshao 8542906c15 add comment. 2018-08-28 17:31:45 +08:00
wenshao 22843bc8e2 bug fixed for mysql parser, support unsigned type. 2018-08-28 17:27:54 +08:00
DigitalSonic 54349c6f09 fix datasource name bug
add an identityHashCode suffix
2018-08-23 00:30:38 +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