Commit Graph
2570 Commits
Author SHA1 Message Date
DigitalSonic 5e0dc32798 refactor RandomDataSourceValidateThread
1. add cleanup action at the end of every check
2. change the key of errorCounts from "foo" to "foo-xxxxx"(DruidDataSource.getName())
2020-02-06 21:10:17 +08:00
DigitalSonic 34aa0c8cd1 some small refactors & add tests 2020-02-06 13:53:28 +08:00
DigitalSonic eb90260afe rename some fields, add one complex test for FileNodeListener 2020-02-05 20:38:47 +08:00
DigitalSonic 12848f1b95 add a ZK node listener for HA 2020-02-05 16:41:00 +08:00
DigitalSonic 7f43c62cb6 add a NodeRegister to register Node to ZK 2020-02-04 17:01:39 +08:00
DigitalSonic 6b884941fb Some small refactor 2020-02-03 16:48:22 +08:00
DigitalSonic 8c57759eaa PoolUpdater can set Schedule Period now 2020-01-28 20:14:16 +08:00
hongweiyi 8ef52029f2 support oceanbase dbtype
Signed-off-by: hongwei yi hongweiyi@hotmail.com
1. add oceanbase/oceanbase_oracle dbtype
2. update some dbtype recognition usages
2020-01-28 12:03:24 +08:00
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
wangzhijun 0d839edbf4 fix typo: merg -> merge 2020-01-16 14:05:32 +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