v2.4
Release Notes
Installation package download address: https://www.mogdb.io/downloads/mogha/all
Tip: openEuler x86_64 is for glibc version 2.28,centos x86_64 is for glibc version 2.17 You can checkout version of glibc by command
getconf GNU_LIBC_VERSION
mogha-2.4.22 (2024.08.19)
Change Log:
- Fixed the standby not failover problem introduced in v2.4.21
mogha-2.4.21 (2024.06.07)
Change Log:
- Add
auto_build_standby
andhttp_listen_address
parameters
mogha-2.4.20 (2024.03.26)
Change Log:
- Fix: Fixed an issue in which two standby both failover in Full mode
mogha-2.4.19 (2024.03.11)
Change Log:
- Fix: Change build timeout from 10 minutes to 2 hours
- Fix: Fix getting wrong user group id when multiple users have same prefix
mogha-2.4.18 (2024.01.31)
Change Log:
- Fix:For more than 3 nodes, calculating wrong of the threshold of half votes when deciding on an instance role that was not started
mogha-2.4.17 (2024.01.09)
Change Log:
- Fix:Concurrently read and write metadata, cause the problem of occasional read empty
- Perf:Optimize the log level of some logs
mogha-2.4.16 (2023.12.15)
Change Log:
- Fix:Solve the problem that after a switchover, the new master shutdown immediately, cause the metadata of the original master not refreshed
- Fix:The critical state of the instance downtime during the live instance judgment cause the master not be restart
- Perf:When the instance status is Coredump, failover immediately
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:
- Fix:When the host of primary shutdown and backup failover, old primary dosent try to start after host restart.
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:
- Optimize the primary_backup selection algorithm
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:
- Fix: (lite mode) cannot decide real primary when there are multiple primaries
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:
- Fix:support parse uppercase letters in parameter names (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:
- Each Zone supports two virtual IP addresses
- Add replconn_ip field. Supports scenario where the db replication IP and bussiness IP are different
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:
- Optimize the implemention of the restart_strategy parameter.
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:
- Support extreme RTO mode (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:
- After the virtual IP is mounted, an error retry mechanism is added for the arping command.
- Add orphan process cleaning script to improve MogHA's self high availability.
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:
- When gs_ctl is unavailable, add the database pid check for db survival status
- Fixed an issue where instance roles could not be decided when a single machine started
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:
- Optimize the standby heartbeat workflow
- Optimize commands of broadcasting 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:
- Optimize failover API. If instance is already primary, give a success response.
- Optimize processing for instance in the Promoting state
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:
- Fixed the dependency of dynamic libraries on SUSE 12
- The
arping
command is executed by default using sudo (compatible with SUSE) - The time dimension in the
restart_strategy
parameter supports decimal numbers. For example, 10/0.5 represents 10 times /30s - Optimize the SQL for querying the standby list
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:
- Fixed determine role of instance which not started
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:
- Support to detect Starting/Building/Catchup state of db
- Fixed repeatedly start db during db in
Starting
state
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:
- Add
vip_bind_nic
,vip_netmask
fields to Zone config in node.conf - Communication between HA nodes prefer to use
ip
, and fallback to use redundant ipsheartbeat_ips
when the request failed
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:
- Fixed not failover when local zone has no sync standby in FULL mode
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:
- Added HeartbeatError type, output the known error with log text instead of throwing exception
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:
- Add virtual IP conflict detection during failover
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:
- Optimize heartbeat requests, use persistent connections (keep-alive) to reduce socket usage and communication latency
- Optimize heartbeat logic, shorten communication latency by concurrent requests
- Optimizes the handling of log disk write failures to avoid process blocking
- Change the ip priority of heartbeat, will use heartbeat ip first
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: Failed to flush the route cache after switching
- Feat: Use the immediate mode while stopping database.
- Fix(full mode): The configuration of cluster
replconninfo
is incorrect after switching
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:
- Adjust the system architecture and remove Python dependency.
- Support concurrent deployment of an HA service on each node.
- Enable the maximum availability mode before failover under the lite mode.
- Dynamically obtain the subnet mask of the service NIC as that of the virtual IP address.
- Automatically try incremental rebuilding when the status of the standby database is "Need Repair".
- Define the user-friendly process cmdline for easy distinction.
- Update the mogha.service.tmpl template.
- Optimize code and fix partial bugs.
MogHA-2.2.2 (2021.10.14)
Change Log:
- Add the check of the maximum available space before the standby database is switched.
- Add the check of the primary database role after the standby database is switched.
- Optimize the switchover process.
- Optimize the restart process of the standby database.
MogHA-2.2.1 (2021.9.10)
Change Log:
- Add the limit of metadatabase connection timeout duration of 3s.
- Add the limit of the HTTP interface request timeout duration of 3s.
- Rectify the fault that allow_ips does not include a virtual IP address during HTTP interface authentication.
- Optimize the code structure.
MogHA-2.2.0 (2021.9.7)
Change Log:
- Modify the version management mode.
- Pack objects by platform.
- Modify the table structure of the metadatabase.
- Remove the db_host_zone table.
- Add the switchover time field to the db_cluster table.
- Add the zone field to the db_instance table.
- Change the ctime and utime fields to the create_time and update_time fields for all tables, respectively.
- Support automatic discovery of database ports and writing into node.conf during installation.
MogHA-2.1.1 (2021.7.14)
- mogha-2.1.1.tar.gz (support for x86_64 and aarch64)
Change Log:
- Output a Chinese localization script.
- Add a MogHA uninstallation script.
- Add UCE fault detection.
- Add disk fault detection.