Commit Graph
2509 Commits
Author SHA1 Message Date
DigitalSonic cff870e80e Refactor Pool creation logic
1. Refactor the create logic to use NodeListener instead of DataSourceCreator.createMap
2. Add destroy methods to NodeListener and PoolUpdater
3. Add a lock to prevent Node update concurrently
2020-01-22 18:46:20 +08:00
DigitalSonic e03511cdaa rename the NodeEventType to NodeEventTypeEnum 2020-01-22 16:51:16 +08:00
DigitalSonic 82adaad442 add NodeListener mechanism 2020-01-22 16:48:16 +08:00
DigitalSonic 75a094c41e add a blacklist in HighAvailableDataSource
Filter the DataSourceMap with the blacklist before returning
2020-01-21 14:58:19 +08:00
DigitalSonic 1617528f77 Merge remote-tracking branch 'upstream/master' 2020-01-16 23:21:41 +08:00
DigitalSonic 4f45e7f8dc add Testcases 2019-11-05 18:01:08 +08:00
高铁 1cdd3f28eb improved hive sql parser 2019-11-02 22:46:16 +08:00
高铁 c72aae5496 fix testcase 2019-10-05 14:17:34 +08:00
温绍锦 38efdf375f Merge pull request #3475 from Duncan-tree-zhou/pg_upsert_fix_duncan
修复PGOutputVisitor 输出PGInsertStatementParser的时候on Conflict Update语法的输出错误
2019-10-05 14:08:57 +08:00
高铁 f970286f67 revert #3484 2019-10-05 13:34:32 +08:00
高铁 b79edab45f backport sql parser improved from fastsql 2019-10-05 01:50:37 +08:00
高铁 20801d01ce remove tbdatasource & proxool testcase 2019-09-22 21:22:42 +08:00
高铁 52e3b36c5f remove proxool testcase 2019-09-22 21:11:14 +08:00
duncan_zhou f577b9ae5e 修复PGOutputVisitor 输出PGInsertStatementParser的时候on Conflict Update语法的输出错误 2019-09-19 13:29:32 +08:00
高铁 c12a2b52c4 bug fix for sql wall 2019-09-15 22:03:59 +08:00
高铁 daac4ca1cd fix testcase 2019-08-28 10:45:38 +08:00
高铁 df7ef2fd66 bug fix for sql wall 2019-08-27 18:22:13 +08:00
温绍锦 d2b12bc586 Merge pull request #3263 from xijiu/master
bug fix 解决PagerUtils修改offset的bug,当offset需要修改为0时,取值不正确
2019-08-27 10:04:10 +08:00
agapple 712d00e1d9 fixed testcase failed 2019-08-21 20:32:05 +08:00
likangning 2017fb7cf1 解决PagerUtils修改offset的bug,当offset需要修改为0时,取值不正确 2019-05-31 14:16:05 +08:00
DigitalSonic 810128aed9 Merge remote-tracking branch 'upstream/master' 2019-04-09 00:36:35 +08:00
shaojin.wensj 9aa1798149 bug fixed for fail fast. 2019-03-19 19:48:42 +08:00
shaojin.wensj 45fe78e097 fixed testcase 2019-02-26 16:25:22 +08:00
DigitalSonic c1e73f2fa9 Optimize the logic in HA Validation. 2019-02-25 14:49:45 +08:00
shaojin.wensj 799b7fba18 fixed testcase 2019-02-24 21:53:39 +08:00
shaojin.wensj e4465dfa7a add testcase 2019-02-24 21:40:59 +08:00
shaojin.wensj 1f317383cd fixed testcase 2019-02-24 15:16:31 +08:00
shaojin.wensj 24a83cddd1 bug fixed for PagerUtils, for issue #3081 2019-02-22 21:19:44 +08:00
shaojin.wensj c732a3569a improved sql parser hive support, for issue #3090 2019-02-22 20:22:35 +08:00
shaojin.wensj e04e4ba219 bug fixed for sql parser, for issue #3080 2019-02-22 19:56:40 +08:00
shaojin.wensj 78656d488c fixed testcase 2019-02-22 17:57:11 +08:00
shaojin.wensj 60b579e878 bug fixed for SchemaStatVisitor, for issue #3058 2019-02-03 10:20:52 +08:00
DigitalSonic 865d052a21 Merge remote-tracking branch 'upstream/master' 2019-02-03 00:04:15 +08:00
DigitalSonic f681871e49 RandomDataSourceSelector can load some parameters from Properties now 2019-02-02 18:30:56 +08:00
DigitalSonic dfcc16107a fix failed testcase 2019-02-02 16:46:32 +08:00
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
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 0baed9f7ca refactor code, use StringBuilder & remove SimpleDateFormat 2019-01-29 16:13:55 +08:00
shaojin.wensj 70698c3923 add testcase for issue #3042 2019-01-28 17:15:49 +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 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
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 443e91a545 bug fixed for issue #2876 2018-10-29 09:53:29 +08:00
wenshao 66bb235f9b support phyMaxUseCount 2018-10-13 20:09:22 +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