发布记录
安装包下载地址: https://www.mogdb.io/downloads/mogha/all
注意: openEuler x86_64 适用于系统 glibc 版本为 2.28,centos x86_64 适用于系统 glibc 版本为 2.17 可通过命令 getconf GNU_LIBC_VERSION 查看系统 glibc 版本
mogha-2.4.22 (2024.08.19)
Change Log:
- 修复v2.4.21版本引入的备库不切换问题
mogha-2.4.21 (2024.06.07)
Change Log:
- 新增 auto_build_standby 和 http_listen_address 参数
mogha-2.4.20 (2024.03.26)
Change Log:
- 修复:修复Full模式剩余两个备库同时升主的问题
mogha-2.4.19 (2024.03.11)
Change Log:
- 优化:重建备库的超时时间由10分钟调整为2小时
- 修复:当存在相同用户名前缀时,安装脚本获取用户组ID错误的问题
mogha-2.4.18 (2024.01.31)
Change Log:
- 修复:3节点以上,在决策未启动的实例角色时,计算半数票临界值错误
mogha-2.4.17 (2024.01.09)
Change Log:
- 修复:多进程并发读写元数据导致偶尔读取到空的问题
- 优化:优化部分日志的日志级别
mogha-2.4.16 (2023.12.15)
Change Log:
- 修复:解决当 switchover 后,新主立刻宕机导致原主元数据未刷新无法升主的问题
- 修复:存活实例判断期间实例宕机的临界状态支持
- 优化:当实例状态为 Coredump 时,立即发起切换
mogha-2.4.15 (2023.11.30)
- openEuler-arm64: mogha-2.4.15-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.4.15-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.4.15-CentOS-x86_64.tar.gz
Change Log:
- 修复:主库的机器宕机,备库升主后,原主机器重启后未自动尝试以备库启动
mogha-2.4.14 (2023.11.23)
- openEuler-arm64: mogha-2.4.14-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.4.14-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.4.14-CentOS-x86_64.tar.gz
Change Log:
- 优化:优化候选主选取算法
mogha-2.4.13 (2023.10.18)
- openEuler-arm64: mogha-2.4.13-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.4.13-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.4.13-CentOS-x86_64.tar.gz
Change Log:
- 修复:lite 模式脑裂选主时无法选出主的问题
mogha-2.4.12 (2023.8.22)
- openEuler-arm64: mogha-2.4.12-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.4.12-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.4.12-CentOS-x86_64.tar.gz
Change Log:
- 修复:支持 postgresql.conf 配置文件中参数名中存在大写字母
mogha-2.4.11 (2023.7.12)
- openEuler-arm64: mogha-2.4.11-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.4.11-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.4.11-CentOS-x86_64.tar.gz
Change Log:
- 每个 Zone 支持两个虚拟IP配置
- Host 新增 replconn_ip 字段,支持数据库流复制IP和业务IP不同的场景
mogha-2.4.9(2023.4.28)
- openEuler-arm64: mogha-2.4.9-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.4.9-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.4.9-CentOS-x86_64.tar.gz
Change Log:
- 优化 restart_strategy 参数的生效方式
mogha-2.4.8(2023.4.3)
- openEuler-arm64: mogha-2.4.8-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.4.8-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.4.8-CentOS-x86_64.tar.gz
Change Log:
- 支持极致RTO模式(hot_standby=off)
mogha-2.4.7 (2023.3.24)
- openEuler-arm64: mogha-2.4.7-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.4.7-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.4.7-CentOS-x86_64.tar.gz
Change Log:
- 虚拟IP挂载后,对于 arping 指令增加错误重试机制
- 增加清理孤儿进程脚本,提高MogHA自身高可用性
mogha-2.4.6 (2023.3.8)
- openEuler-arm64: mogha-2.4.6-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.4.6-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.4.6-CentOS-x86_64.tar.gz
Change Log:
- 对于实例存活状态的检测,当 gs_ctl 不可用时,增加数据库进程ID检查
- 修复单机启动时,无法决策实例角色的问题
mogha-2.4.5 (2023.2.28)
- openEuler-arm64: mogha-2.4.5-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.4.5-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.4.5-CentOS-x86_64.tar.gz
Change Log:
- 优化备库心跳流程
- 优化广播VIP指令
mogha-2.4.4 (2023.1.31)
- openEuler-arm64: mogha-2.4.4-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.4.4-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.4.4-CentOS-x86_64.tar.gz
Change Log:
- 优化 failover API接口,已经是主库时接口返回成功
- 优化针对实例处于 Promoting 状态的处理
mogha-2.4.3 (2022.12.14)
- openEuler-arm64: mogha-2.4.3-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.4.3-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.4.3-CentOS-x86_64.tar.gz
Change Log:
- 修复在 SUSE 12 系统上动态库的依赖问题
- arping 指令默认使用 sudo 执行(兼容 SUSE)
- restart_strategy 参数中的时间维度支持小数,例如 10/0.5 代表10次/30s
- 优化备库列表查询SQL
mogha-2.4.2 (2022.12.02)
- openEuler-arm64: mogha-2.4.2-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.4.2-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.4.2-CentOS-x86_64.tar.gz
Change Log:
- 修复对于未启动的实例角色的判断
mogha-2.4.1 (2022.11.28)
- openEuler-arm64: mogha-2.4.1-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.4.1-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.4.1-CentOS-x86_64.tar.gz
Change Log:
- 支持对于实例 Starting/Building/Catchup 状态的检测
- 修复启动实例时针对 Starting 状态重复启动的问题
mogha-2.4.0 (2022.11.24)
- openEuler-arm64: mogha-2.4.0-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.4.0-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.4.0-CentOS-x86_64.tar.gz
Change Log:
- node.conf 中 Zone 配置中新增
vip_bind_nic
,vip_netmask
配置 - HA节点之间 api 通信优先使用
ip
,请求失败使用冗余IPheartbeat_ips
mogha-2.3.8 (2022.11.2)
- openEuler-arm64: mogha-2.3.8-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.3.8-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.3.8-CentOS-x86_64.tar.gz
Change Log:
- 修复 Full 模式下主机房没有同步备时,不切换的问题
mogha-2.3.7 (2022.9.8)
- openEuler-arm64: mogha-2.3.7-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.3.7-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.3.7-CentOS-x86_64.tar.gz
Change Log:
- 动态感知集群实例数量,full 模式下,自动切换 lite 和 full
- full 模式双冗余来接管主库
mogha-2.3.6 (2022.8.14)
- openEuler-arm64: mogha-2.3.6-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.3.6-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.3.6-CentOS-x86_64.tar.gz
Change Log:
- 增加心跳错误类型,已知的心跳错误由抛异常改为输出错误日志
mogha-2.3.5 (2022.5.10)
- openEuler-arm64: mogha-2.3.5-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.3.5-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.3.5-CentOS-x86_64.tar.gz
Change Log:
- 切换时增加虚拟IP冲突检测
mogha-2.3.4 (2022.4.24)
- openEuler-arm64: mogha-2.3.4-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.3.4-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.3.4-CentOS-x86_64.tar.gz
Change Log:
- 优化心跳请求,使用长连接减少 socket 占用数量和通信时延
- 优化心跳逻辑,请求多个IP时改为并发请求,缩短时延
- 优化日志磁盘无法写入的情况处理,避免进程阻塞
- 调整心跳使用的IP优先级,优先使用心跳IP,失败后使用业务IP
mogha-2.3.2 (2022.3.15)
- openEuler-arm64: mogha-2.3.2-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.3.2-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.3.2-CentOS-x86_64.tar.gz
Change Log:
- Fix: 切换后路由缓存刷新失败的bug
- Feat: 关闭数据库采用
immediate
模式 - Fix(Full模式): 切换后集群
replconninfo
配置错误
mogha-2.3.0 (2021.11.30)
- openEuler-arm64: mogha-2.3.0-openEuler-arm64.tar.gz
- openEuler-x86_64: mogha-2.3.0-openEuler-x86_64.tar.gz
- Centos-x86_64: mogha-2.3.0-CentOS-x86_64.tar.gz
Change Log:
- 调整系统架构,去除python依赖
- 支持单机并行部署多套HA
- lite模式: failover前,开启最大可用模式
- 动态获取业务网卡子网掩码用作虚拟IP子网掩码
- 备库状态为Need Repair 时,自动尝试增量重建一次
- 定义人性化进程cmdline,便于区分
- 更新 mogha.service.tmpl 模板
- 优化代码,修复部分Bug
mogha-2.2.2 (2021.10.14)
Change Log:
- 新增备库切换前最大可用检查
- 新增备库切换后主库角色检查
- 优化切换流程
- 优化备库重启流程
mogha-2.2.1 (2021.9.10)
Change Log:
- 增加元数据库连接超时控制为3s
- 增加 http 接口请求超时控制为3s
- 修复http接口鉴权时 allow_ips 未包含虚拟ip的错误
- 优化代码结构
mogha-2.2.0 (2021.9.7)
Change Log:
- 修改版本管理方式
- 元数据库表结构变更
- 支持自动发现数据库配置
mogha-2.1.1 (2021.7.14)
- mogha-2.1.1.tar.gz (支持 x86_64, aarch64)
Change Log:
- 汉化脚本输出
- 新增MogHA 卸载脚本
- 新增支持UCE故障检测
- 新增磁盘故障检查