Skip to content

v5.4.13

Compare
Choose a tag to compare
@lulu2panpan lulu2panpan released this 30 Mar 12:51
· 46 commits to main since this release

RELEASE NOTE

Important New Feature

  • Introduce new component named Replica which can simulate PolarDB-X as mysql slave by use sql like ‘change master …’
  • Support recording Rows_query_event in Global Binlog with a precondition that should set binlog_rows_query_log_events to ON in DN Nodes

Feature enhancement

  • Optimize algorithm for TableMapId Generation to guarantee consistent ID for same table
  • Optimize algorithm with rollback for CDC meta information to resolve possible inconsistency issue in extremely scene,and introduce consistency checking module for meta
  • Support Skip Selection for disordered TraceId with a new configuration parameter
  • Add parameterization support whether record implicit primary key to Global Binlog
  • support utf8mb3 character encoding
  • support special processing for rotate event which existed in middle of DN binlog file

Bugfix

  • Fix truncation issue for TableMapId because of incorrect data type usage
  • Remove two StatusVars in Query Event(MODE_NO_ZERO_IN_DATE和MODE_NO_ZERO_DATE) to resolve program error in mysql slave when processing null timestamp columns
  • Fix Invalid Checking for Heartbeat Window integrity in LogEventMerger when meet Scale Out/In
  • Fix Type defination defect of FastSql Repository , which resulting in metadata overwritten with each other between Tables and Indexes with the same name
  • Fix file size issue in binlog_oss_reocrd table
  • Fix some bugs of rule mismatching because of missing process for back quote

发布说明

重要功能新增

  • 新增Replica组件,支持通过change master … 语法的方式将PolarDB-X作为MySQL Slave来消费数据
  • 全局Binlog中支持记录Rows_query_event类型数据,前置条件:需将DN节点binlog_rows_query_log_events参数设置为On

特性更新

  • 优化TableMapId生成算法,保证相同逻辑表ID一致
  • 优化CDC元数据Rollback算法,解决极端情况下元数据不一致问题,并引入元数据一致性校验算法
  • 针对乱序的TraceId,支持参数化配置是否进行跳过
  • 支持参数化配置,是否记录PolarDB-X隐藏主键到全局Binlog
  • 支持utf8mb3字符编码
  • 支持对DN binlog文件中间位置出现的rotate event进行特殊处理

问题修复

  • 修复因数据类型精度不够导致TableMapId被截断问题
  • 删除QueryEvent中的两个状态变量MODE_NO_ZERO_IN_DATE和MODE_NO_ZERO_DATE,解决Timstamp Column值为空时同步到下游MySQL报错问题
  • 解决Scale Out/In场景下,LogEventMerger心跳窗口完整性检测失效问题
  • 修复FastSql Repository类型区分不够精细,导致具有相同名字的Table和Index的元数据相互覆盖问题
  • 修复记录到binlog_oss_record表中的Binlog文件大小错误问题
  • 修复若干因反引号导致的规则匹配失效问题