sunxien
f07a075dce
refactor(canal/server): 优化程序代码 ( #5545 )
...
- canal server logback.xml 配置增加
CanalServerWithEmbedded 单独日志配置,流量非常大的情况下,getMessages/ack等日志量非常大
日志刷盘太快也影响性能,占磁盘空间。用户可以根据需要单独调整日志级别。默认是INFO
- TableMetaCache 锁的范围太大,针对这块做了代码逻辑优化。以下场景影响性能:
- 当用户关闭tsdb.enable=false, 分库分表数量非常多回查次数很多;
- 每张表有四五百列甚至更多,里面的集合容器提前初始化,减少扩容的次数;
- DatabaseTableMeta 标记一个内存不安全的地方,以后看情况优化掉
使用MemoryTableMeta在内存区记录表元数据,当分库分表数量非常多,表结构非常复杂非常吃内存,容易OOM
2026-01-28 11:52:25 +08:00
jianghang.loujh
c0619c4217
merge code
2025-12-25 11:54:25 +08:00
dingxiaobo
8a4199a7b0
Fix 2 oss binlog issue ( #5536 )
...
* 1. Fix compressed OSS binlog data
2. Fix first second data loss caused by dumping from OSS binlog
* Fix CI failed test cases
2025-12-25 11:52:24 +08:00
jianghang.loujh
9f2fc7409f
merge issue #5496 , 修复mysql rds oss订阅本地binlog过期需要再次订阅oss
2025-08-05 16:49:47 +08:00
jianghang.loujh
5607444bad
merge from github and rebase
2025-07-28 14:38:10 +08:00
jianghang.loujh
3a7223e460
merge from github
2025-07-28 14:37:47 +08:00
Canlin Guo
553438e227
CI: add a workflow for CI ( #5483 )
...
* Create SECURITY.md
* CI: Create maven.yml
* Update maven.yml
* Update maven.yml
* fix bugs of fastsql schema test
2025-07-28 14:33:52 +08:00
hygugb
9bd4357f37
fix: tsdb存储元数据时支持大对象(大于64M) ( #5393 )
2025-05-16 15:00:19 +08:00
jianghang.loujh
e21e98aa83
fixed CanalAdmin instanceLog and polardbx columnar test
2025-03-19 15:51:27 +08:00
jianghang.loujh
c15129b0ac
[maven-release-plugin] prepare for next development iteration
2025-01-16 16:07:08 +08:00
jianghang.loujh
0741ccda1e
[maven-release-plugin] prepare release canal-1.1.8
2025-01-16 16:07:00 +08:00
Chongzhi Deng
44ed76ebb8
fix typo ( #5299 )
...
Signed-off-by: BruceAko <chongzhi@hust.edu.cn >
2024-12-17 15:32:03 +08:00
jianghang.loujh
b391188baf
code format & fine-tune
2024-10-14 16:44:59 +08:00
jianghang.loujh
1e5b8a2021
fixed schema blackFilter & mysql 8.4
2024-08-29 13:07:26 +08:00
Yifan Xia
b060f46ccf
Update AbstractRequest.java ( #5208 )
2024-08-29 12:47:09 +08:00
TK337
7e31b40531
support mysql 8.4 ( #5231 )
2024-08-29 12:43:06 +08:00
Yazid Lee
9373429015
fix: resource loading failure caused by incorrect parameter order in StringUtils.startsWithIgnoreCase ( #5173 )
2024-06-26 15:53:24 +08:00
jianghang.loujh
b0f3ff8dcc
fixed pull #5147 , reformat & add more configs
2024-06-26 15:33:14 +08:00
dingxiaobo
5c61f2fb56
Feat, support SSL(TLS), improve SHA2 password. ( #5147 )
...
* feat #4489 , mysql SSL
* feat #4489 , mysql SHA2 and SSL
* merge master, fix conflict.
* improve SHA2 auth plugin, fix SSL status print.
* SSL key store, use url rather than path, keep same as JDBC driver.
2024-06-26 15:06:16 +08:00
jianghang.loujh
7bb619cf12
fixed #5154,avoid spring RCE
2024-06-06 15:29:17 +08:00
lulu2panpan
d66a15fe35
migrate sql parser from druid to polardbx-parser ( #5097 )
...
* migrate parser from druid to polardbx-parser
* migrate parser from druid to polardbx-parser(with version 5.4.19)
* fix bug : full ddl sqls should not assign to extra field but data field
* fix bug : full ddl sqls should not assign to extra field but data field
---------
Co-authored-by: agapple <jianghang.loujh@alibaba-inc.com >
2024-05-25 22:05:06 +08:00
jianghang.loujh
eaacc01b77
fixed issue #5094 , support function unique index
2024-04-15 15:34:50 +08:00
jianghang.loujh
c0ff058fe1
remove unnecessary bean copy
2024-03-18 15:58:53 +08:00
jianghang.loujh
307547746c
optimize test & connected mistake
2024-02-04 13:59:29 +08:00
jianghang.loujh
1413cc9196
fixed issue #4899 , druid SchemaRepository support quota
2024-01-15 15:14:11 +08:00
jianghang.loujh
0e4c5c40d7
format code
2023-11-09 15:35:37 +08:00
e345
c65477d97a
loadVersionComment() add logger.warn info ( #4943 )
2023-11-09 15:31:33 +08:00
jianghang.loujh
b4074206ca
fixed issue #4940 , support percona 8.0.33
2023-11-08 16:37:24 +08:00
jianghang.loujh
c8ef9552ec
fixed #4907 , reset tsdb build context
2023-10-13 14:05:15 +08:00
jianghang.loujh
b322201889
[maven-release-plugin] prepare for next development iteration
2023-10-09 14:27:37 +08:00
jianghang.loujh
ea8949298f
[maven-release-plugin] prepare release canal-1.1.7
2023-10-09 14:27:33 +08:00
jianghang.loujh
0f6b9d156a
fixed concurrent set properties NPE
2023-10-07 21:54:34 +08:00
jianghang.loujh
f9f810226d
fixed issue #4869 , support admin tsdb config
2023-09-11 10:57:43 +08:00
jianghang.loujh
d4a09704f2
optimize gtid
2023-09-07 09:48:58 +08:00
jianghang.loujh
d90066e01b
upgrade spring cloud & spring boot version
2023-09-01 19:51:49 +08:00
jianghang.loujh
f13cc4ee9f
fixes issue #4388 , support mariadb 10.x log_bin_compress
2023-09-01 13:42:49 +08:00
jianghang.loujh
97aa441bca
fixed PR format
2023-07-28 13:20:56 +08:00
施昱平
04a2b6f941
修复从远程下载rds-binlog文件到本地时响应头获取不到Content-Length导致的NPE的问题 ( #4760 )
2023-07-18 16:16:50 +08:00
lulu2panpan
a04a1912a8
add support for polardbx multi binlog streams ( #4660 )
...
* AbstractCanalInstance的subscribeChange方法,增加对AbstractEventParser的类型判断,以支持用户的自定义CanalEventParser
* MysqlEventParser对Gtid模式的处理需要考虑兼容性,支持系统平滑的从非gtid模式升级为gtid模式
* add support for polardbx multi binlog streams #4657
* support auto generate instance names #4657
2023-03-23 13:46:10 +08:00
starrywu
b52c5d149b
Update LogEventConvert.java ( #4653 )
...
fixed issue #4652 , 解决mysql中类型为MEDIUMTEXT的字段的javaType在不同场景的解析不一致的问题
2023-03-16 17:47:21 +08:00
jianghang.loujh
9d0a37241f
fixed desc table case insensitive
2022-12-26 14:40:58 +08:00
rewerma
9c6f6f5cdf
测试类报错 ( #4518 )
2022-12-06 16:40:11 +08:00
jianghang.loujh
f7a4979b15
performance optimize , 1. cache string names 2. cache Charset
2022-11-16 17:33:02 +08:00
HumanPassenger
10ff148aba
局部变量线程安全,优先使用StringBuilder替换StringBuffer ( #4472 )
...
Co-authored-by: 夏亮 <xialiang@newerabc.com >
2022-11-16 09:55:18 +08:00
jianghang.loujh
7585d9c98b
fixed issue #4225 , support mysql version >= 8.0.26 heartbeat v2
2022-09-01 16:14:55 +08:00
ChanaLii
72c0e24cfd
fix issues#4328 ( #4329 )
2022-08-11 10:44:01 +08:00
gongchangyou
3dc86330a8
fix bug BASE TABLE as table name ( #4217 )
2022-08-11 10:41:01 +08:00
jianghang.loujh
a96db39420
add polardb-x parser test
2022-06-13 09:39:29 +08:00
jianghang.loujh
753fad6639
fixed issue #4216 , support polardb-x show tables
2022-06-10 13:36:39 +08:00
jianghang.loujh
bc4dceea1a
fixed issue #4216 , support polardb-x show databases
2022-06-10 11:37:52 +08:00