zavakid
df24596092
= code cleanup
...
- for loop replaceable with enhanced 'for' loop
- using diamond in generic type
- collapse try catch exception
- using try-with-resource
- using List#sort instead of Collections#sort
- replaced lambda with method reference
- using native compare method to compare numbers
- using switch instead of if for in ESSyncUtil
2020-09-17 23:22:25 +08:00
zavakid
43c23ffb97
= remove unused improt
2020-09-17 22:40:06 +08:00
zavakid
e7658879bc
= cold cleanup
...
* using lambda if possible (we are already building in Java8)
* using diamond when new generic instance
* remove used improt
2020-09-17 17:46:20 +08:00
agapple
b79af46054
merge code and fixed issue #2755 #2756 #2735 #2714 #2711 #2710 #2616 #2602 #2585 #2565 #2935 #2434 #2623 #2418 #2387
2020-08-22 13:07:24 +08:00
EdgarScott
fff623acb1
Add unit tests ( #2235 )
...
* Add Unit Tests for the following classes:
com.alibaba.otter.canal.client.adapter.support.JdbcTypeUtilTest
com.alibaba.otter.canal.client.adapter.support.UtilTest
com.taobao.tddl.dbsync.binlog.JsonConversion_Json_ValueTest
com.taobao.tddl.dbsync.binlog.JsonDiffConversionTest
com.taobao.tddl.dbsync.binlog.LogBufferTest
com.taobao.tddl.dbsync.binlog.LogEventTest
com.taobao.tddl.dbsync.binlog.event.LogHeaderTest
com.taobao.tddl.dbsync.binlog.event.RowsLogBufferTest
com.alibaba.otter.canal.parse.driver.mysql.packets.client.RegisterSlaveCommandPacketTest
com.alibaba.otter.canal.parse.driver.mysql.utils.ByteHelperTest
com.alibaba.otter.canal.parse.inbound.mysql.ddl.DdlResultTest
com.alibaba.otter.canal.parse.inbound.mysql.ddl.DruidDdlParserTest
These tests were written using Diffblue Cover
* Add dependencies and refactor
2019-09-25 18:53:24 +08:00
agapple
bd974e3da8
upgrade fastjson 1.2.58
2019-08-22 23:03:22 +08:00
agapple
2d3baeab7d
fastsql tsdb testcase
2019-08-22 15:08:36 +08:00
Li Qiang
f04e742f4f
#1897 , fix DummyEventStore implements new method ( #1932 )
2019-06-27 09:58:24 +08:00
Xin Wang
8cb85753bb
open the switch to get codecov test coverage ( #1671 )
...
* add codecov for test coverage
2019-04-09 19:11:48 +08:00
agapple
95bed6bcf6
fixed fastsql
2019-03-25 19:50:02 +08:00
agapple
f664af1af4
fixed issue #1546 , support drop database
2019-02-28 10:47:42 +08:00
agapple
f7bf4ac6ff
fixed log test
2018-11-25 18:33:34 +08:00
agapple
a7be9c75f9
fixed mysql rotate checksum
2018-11-20 18:29:01 +08:00
wuwo
beed10901d
destory TableMetaTSDB when stop EventParser
2018-11-05 16:22:15 +08:00
七锋
6ff57f53f8
fixed issue #1070 , support mysql8.0.13
2018-11-05 15:06:40 +08:00
七锋
3bb408194d
fixed issue #1081 , support mariadb rotate_event support checksum
2018-11-01 16:03:40 +08:00
七锋
56ed158814
fixed issue #850 , support alter lock/algorithm
2018-10-29 12:46:20 +08:00
七锋
f822761ab2
fixed issue #1047 , support snapshot expire
2018-10-26 23:46:41 +08:00
七锋
5d55c7ac00
fixed fastsql upgrade
2018-10-17 15:43:26 +08:00
七锋
82f8a9fc98
fixed issue #483 , show slave hosts
2018-09-04 12:55:16 +08:00
七锋
a9cccb3017
fixed format
2018-09-04 11:39:23 +08:00
agapple
283956ee93
Merge pull request #894 from zhangxin1988/master
...
fix #893 index name contains "on" keyword
2018-08-31 13:59:29 +08:00
张鑫
ea81b1dc92
fix #893 index name contains "on" keyword
2018-08-29 14:37:27 +08:00
七锋
d3f52c6d3d
fixed issue #727 , support rds binlog dump
2018-08-13 10:16:28 +08:00
七锋
8ce320148c
fixed code
2018-08-09 22:20:54 +08:00
七锋
3eef7b583d
Merge branch 'branch-rds-support' of github.com:alibaba/canal
2018-08-09 21:55:33 +08:00
charles.lin
b53131553e
Commit test case
2018-08-09 02:01:44 +08:00
Chuanyi Li
92f24bd02e
Remove dirty test case
2018-08-08 20:59:09 +08:00
charles.lin
61c7f7738d
rds binlog 下载支持
2018-08-08 19:29:52 +08:00
Payon
b1dc5bd59f
Merge branch 'master' into pyf2
2018-08-07 19:29:27 +08:00
yfpeng
02868d8fec
为了解决回追数据时Rowdata与当前schema不匹配
...
对TableMeta提供持久化接口,可以根据timestamp匹配历史schema
2018-08-07 13:42:29 +08:00
七锋
89eb3d6078
fixed test code
2018-07-20 16:45:09 +08:00
七锋
77c1c65b83
fixed issue #726 , 提交测试用例
2018-07-20 14:32:51 +08:00
七锋
fe38bc16d2
fixed issue #726 , 优化完毕
2018-07-20 14:32:13 +08:00
七锋
10bb800f85
fixed issue #726 , 优化SessionHandler的传输处理,提前序列化Entry
2018-07-18 18:21:45 +08:00
七锋
11467fca2a
fixed issue #639 , support rename
2018-06-08 10:56:20 +08:00
七锋
b734a32ae6
fixed issue #626 , support xa rollback/commit event
2018-06-06 11:39:59 +08:00
七锋
57c2cc4c4e
fixed issue #626 , support mysql xa parse
2018-05-07 21:25:29 +08:00
七锋
3c913d1e22
fixed issue #126 , support gtid
2018-05-07 18:33:37 +08:00
agapple
91ac0e30aa
fixed issue #483 , support show slave hosts
2018-01-10 14:35:26 +08:00
agapple
c60b04424b
fixed issue #440 , optime find position
2017-12-10 22:24:24 +08:00
agapple
1463463f1e
fixed data
2017-10-15 16:08:29 +08:00
agapple
77342663e3
fixed rds binlog local
2017-10-15 15:55:30 +08:00
agapple
e01e48ff65
fixed h2 support
2017-10-14 01:14:13 +08:00
agapple
4f00f5ea8d
fixed tsdb test
2017-10-14 00:12:43 +08:00
agapple
19707f92d4
merge tsdb meta support and refactor
2017-09-30 23:21:17 +08:00
kaimingwan
e8da1c884b
table meta support
2017-09-22 22:01:57 +08:00
agapple
989a69e7be
fixed format & import
2017-07-05 12:41:11 +08:00
agapple
8e88dc87f7
fixed https://github.com/alibaba/canal/pull/334
2017-07-05 12:35:42 +08:00
agapple
22e3d2f3f1
Merge branch 'master' into master
2017-07-04 21:49:22 +08:00