Skip to content

Commit 4622c39

Browse files
author
fudongbiao
committed
docs
1 parent 57e0ca7 commit 4622c39

2 files changed

Lines changed: 50 additions & 35 deletions

File tree

CHANGELOG.md

Lines changed: 46 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,60 @@
1-
## v0.3.0 [2017-05-5]
1+
## v2.17.08.0 [unreleased]
22

3-
### Features
4-
-
3+
### Release Notes
54

6-
### Bugfixes
7-
8-
- [#UDUP-5](http://10.186.18.21/universe/udup/issues/5): rpm打包应支持relocation.
9-
10-
## v0.2.0 [2017-03-29]
11-
12-
### Features
13-
- Support service health queries and failover to remote nodes based on network coordinates
14-
- Allows filtering production of DML events by GTIDs
15-
- Populate job status
16-
- Improved restart policy
5+
### Features
176

187
### Bugfixes
198

20-
## v0.1.3 [2017-03-09]
9+
## v2.17.07.0 [2017-08-03]
2110

22-
### Features
23-
- MySQL connector supports failing over based on subset of GTIDs
24-
- Use docker images with the custom scripts and config baked into the image
25-
- Enhance Udup Consul image to support clustering
11+
### Release Notes
2612

27-
### Bugfixes
13+
Udup v2.17.07.0作为发布的第一个通用版本,现在支持两种复制模式: 数据同步和数据迁移,以及包含许多关键的功能,包括:
2814

29-
## v0.1.0 [2017-03-03]
15+
### Features
3016

31-
### Features
32-
- Ingest change data from MySQL databases
33-
- Processor plugins, allows flexible routing of execution results
34-
- Ability to encrypt serf network traffic between nodes.
35-
- Using Libkv allows to use consul storage backends
36-
- Includes cluster nodes
37-
- Compiled with Go 1.7
17+
- 集群管理
18+
- 提供高可用、易扩展的平台化管理
19+
- 支持多个数据中心和区域
20+
- 安装部署
21+
- 支持多种方式安装,可轻松部署和配置,包括单机与集群模式
22+
- 复制
23+
- 支持MySQL(5.6,5.7)
24+
- 支持汇聚、扩散等多种拓扑
25+
- 低延迟复制,压缩传输
26+
- 过滤器
27+
- 支持库表级别过滤规则
28+
- 监控
3829

3930
### Bugfixes
4031

41-
- [#UDUP-2](http://10.186.18.21/universe/udup/issues/2): 源库有修改密码的话启动时会报错.
42-
- [#UDUP-1](http://10.186.18.21/universe/udup/issues/1): Add support for MySQL GTIDs.
32+
- [#106](http://10.186.18.21/universe/udup/issues/106): 增量,ALTER TABLE tbl_name ADD [COLUMN] (col_name column_definition,...)解析报错.
33+
- [#95](http://10.186.18.21/universe/udup/issues/95): 增量,insert 类型为time(1)、time(3)、time(5)、time(6),数据不一致.
34+
- [#92](http://10.186.18.21/universe/udup/issues/92): 整型(int、tinyint、smallint、mediumint、bigint)+unsigned,insert最大边界值报错.
35+
- [#91](http://10.186.18.21/universe/udup/issues/91): 增量,insert null,报错(eg:date、year、datetime、timetamp、tinyint).
36+
- [#88](http://10.186.18.21/universe/udup/issues/88): 增量,bit类型,解析出错.
37+
- [#87](http://10.186.18.21/universe/udup/issues/87): 增量,字符集为gbk的表,insert中文字符报错.
38+
- [#86](http://10.186.18.21/universe/udup/issues/86): 增量,特殊字符乱码.
39+
- [#83](http://10.186.18.21/universe/udup/issues/83): 增量,year类型插入特殊字符串“00”,报错.
40+
- [#67](http://10.186.18.21/universe/udup/issues/67): HTTP API状态接口中, 暴露 源端/目标端的队列的使用状态.
41+
- [#57](http://10.186.18.21/universe/udup/issues/57): 全量,无主键的表,中断继续,数据重复.
42+
- [#45](http://10.186.18.21/universe/udup/issues/45): 增加监控项, 监控数据发送是由于超时而引发或是由于包大小满而引发.
43+
- [#44](http://10.186.18.21/universe/udup/issues/44): 源端, 允许defaultMsgBytes可配置.
44+
- [#42](http://10.186.18.21/universe/udup/issues/42): 全量无法复制带外键关系的表.
45+
- [#39](http://10.186.18.21/universe/udup/issues/39): 监控metric使用不便.
46+
- [#36](http://10.186.18.21/universe/udup/issues/36): 任务状态, 缺少统计信息, 缺少报错信息.
47+
- [#35](http://10.186.18.21/universe/udup/issues/35): 日志改进.
48+
- [#30](http://10.186.18.21/universe/udup/issues/30): 全量后精度不一致.
49+
- [#28](http://10.186.18.21/universe/udup/issues/28): 全量,数据中包含特殊字符“`”,报错.
50+
- [#27](http://10.186.18.21/universe/udup/issues/27): 全量,数据中包含转译字符,报错.
51+
- [#26](http://10.186.18.21/universe/udup/issues/26): insert空值,报错.
52+
- [#22](http://10.186.18.21/universe/udup/issues/22): master断网,网络恢复后,无法继续复制.
53+
- [#19](http://10.186.18.21/universe/udup/issues/19): 汇聚场景,Foreign Keys,master与slave结果不一致.
54+
- [#10](http://10.186.18.21/universe/udup/issues/10): 管理命令,删除任务语句失效.
55+
- [#8](http://10.186.18.21/universe/udup/issues/8): 同表汇聚,目标节点多次回放create index语句,udup报错.
56+
- [#5](http://10.186.18.21/universe/udup/issues/5): rpm打包应支持relocation.
57+
- [#2](http://10.186.18.21/universe/udup/issues/2): 源库有修改密码的话启动时会报错.
58+
- [#1](http://10.186.18.21/universe/udup/issues/1): Add support for MySQL GTIDs.
4359

4460
This is the initial release of Udup.

internal/client/driver/mysql/binlog/binlog_reader.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,14 @@ func NewMySQLReader(cfg *config.MySQLDriverConfig, logger *log.Entry) (binlogRea
100100

101101
// ConnectBinlogStreamer
102102
func (b *BinlogReader) ConnectBinlogStreamer(coordinates base.BinlogCoordinates) (err error) {
103-
/*if coordinates.IsEmpty() {
104-
b.logger.Warnf("mysql.reader: Emptry coordinates at ConnectBinlogStreamer()")
105-
}*/
103+
if coordinates.IsEmpty() {
104+
b.logger.Warnf("mysql.reader: Emptry coordinates at ConnectBinlogStreamer")
105+
}
106106

107107
b.currentCoordinates = coordinates
108108
b.logger.Debugf("mysql.reader: Connecting binlog streamer at %+v", b.currentCoordinates)
109109

110-
// Start sync with sepcified binlog file and position
111-
//b.binlogStreamer, err = b.binlogSyncer.StartSync(gomysql.Position{b.currentCoordinates.LogFile, uint32(b.currentCoordinates.LogPos)})
110+
// Start sync with sepcified binlog gtid
112111
gtidSet, err := gomysql.ParseMysqlGTIDSet(b.currentCoordinates.GtidSet)
113112
if err != nil {
114113
b.logger.Errorf("mysql.reader: err: %v", err)

0 commit comments

Comments
 (0)