Klustron(原KunlunBase) 0.9 release notes
大约 4 分钟
Klustron(原KunlunBase) 0.9 release notes
1 新增的重要功能
1.1 为 Klustron bootstrap 服务器
#672 bootstrap a single machine
这些服务器后续就可以由XPanel或者cluster_mgr 来安装Klustron集群了
1.2 cluster_mgr 任务执行框架
用于并发地分配、下发和执行集群管理任务,并且异步非阻塞地获取任务执行结果。详见功能说明
#673 cluster_mgr 任务执行框架提供清理回滚任务接口
1.3 集群管理
由cluster_mgr和node_mgr实现集群管理,包括节点安装、卸载、启停、增加shard、重做备机、主备切换、备份恢复、扩缩容 等。详见功能说明
cluster_mgr 组成高可用集群,并且集群主节点负责执行集群管理任务,并且向集群备机节点同步内部状态更新,每个集群节点持久保存内部状态
1.4 Fullsync HA
由cluster_mgr和node_mgr 来监控每个shard主节点的运行状况,在主节点宕机后发起选主和主备切换。详见功能说明
1.5 Fullsync
在存储节点实现强同步等待机制,确保任何事务prepare/commit 命令只有收到足够的备机ack才会向计算节点确认成功。用于配合cluster_mgr 实现Fullsync HA和金融级数据强一致性。详见功能说明
1.6 MySQL 连接协议
实现了MySQL连接协议基本功能,包括用户密码验证、建立连接状态、text协议语句发送和结果返回等,以及MySQL的字符转义规则,(单、双、反)引号规则,以及MySQL的autocommit 事务和隐式开启和提交事务的规则。详见功能说明
#619 MySQL protocol basic features
#807/808 alloc listening port for mysql protocol
#867/868/869 字符的转义存在着不同
#875 词法解析出现了一些问题
#877 没有将反斜线当做普通文本
#881 词法解析
#874 重复输入begin之间没有了提示
#906 mysql协议中select语句出现core
1.7 集群物理备份和恢复
详见 功能说明
1.8 集群扩容
详见 功能说明
1.9 其他功能
#872 支持直接访问shard的语法
2 内部功能和优化
#622 Maintain Klustron-server state when deleting a storage shard or storage node
#645 compare topology metadata for changes periodically and update local meta tables
#678 机器初始化套件,部署元数据集群,目录分离
#679 一键机器初始化套件优化
#685 node_mgr 安装实例的模板包处理不解压,不移动 libs/deps 下的 so 包
#696 Connect to Klustron-server and Klustron-storage using unix socket
#693 安装实例的其实端口,要放到 node_mgr 的配置文件中,而不是 cluster_mgr的配置文件中
#696 Connect to Klustron-server and Klustron-storage using unix socket
#918 slave apply binlog can skip event in xa_trx
3 修复的重要问题
#631 查询文件重复扫描,差距过于巨大
#655 on conflict () ...do update 产生的相关问题
#674 长度小于零时,需要抛出错误的情况,却没有进行
#720 function 和 ORDINALITY 产生的不同
#730 OFFSET没有发挥出相应的作用
#736 Heartbeat event log_pos may overflow and causes IO thread to stop
#741 增加字段的列serial unique,不是从1开始
#743 支持lateral join的下推
#762 utc与cst时区自动进行了调整
#790 ~bit按位求反与bit<<按位左移的差异
#791 Fix the binlog_backup plugin broken pipe failure
#792 Fix coredump of the mysqlbinlog flashback when xa_commit event is the startpoint
#794 关于PREPARE...EXECUTE...句式的问题
#795 money类型可以进行insert,在select的时候出现超出范围的错误
#831 GROUP BY...ORDER BY常量的使用出现的错误
#806 clustermgr create cluster,then clustermgr switch master/slave
#836 哈希分区表中并在一起的结果不一致
#846 set and restore the thread_local variables before and after bg_task_purge_binlog
#845 组合值不具备相符的列名
#885 Support mysql variable select stmt
#889 fullsync condition may be different during fullsync wait
#936 与预期输出不同的语法错误
#254 Sort column returned when it's not in target list
#288 Can not update partition key of a remote relation
#297 whole-row references are disallowed -But successful
#305 Different column names are displayed
#306 Circular dependence of subquery as select items with upper level RemoteScan
#415 number of updates displayed is inconsistent
#330 String trim function mapping and conversion needed
#417 cannot grant on temporary object
#422 select ...EXCEPT.../INTERSECT...select... Sorting different
#564 different behavior from official pg when converting timestamp without timezone to timestamp with timezone
#603 The generated scan expression cannot be pushed down
#612 parallel with parallel-aware hash join
#621 在临时表中更新时引用RETURNING返回的数值是不同的