moha
moha copied to clipboard
MoHA(Mobike High Availability): A MySQL/Postgres high availability supervisor
### What version of MoHA are you using? 最新版 ### Does this issue reproduce with the latest release? N/A ### What operating system and processor architecture are you using? N/A...
通过查阅相关模块文档,没有看到主从延迟比较大,比如延迟几分钟这样,如果主库发生故障,那么是否切换,如何控制高延迟的是否切换,是否会自动修复数据差异后切换?
麻烦问一下作者,moha必须要在docker下运行吗?能否在物理机上运行,不需要docker依赖的环境
Firstly list the pros and cons of changing package dependency management from Dep to Go Modules.
意外切换时:增加binlog同步差异判断,如果从库差异binlog event大于阈值,将从库设置成only-flow,并打印日志;如果从库的binlog差异小于规定阈值,优先切换;走后续补偿
switch.go has different logger lib. Unify the logger libs.
remove pmm-client and pmm-server dependencies to boost image build
When `make docker-image` is run, gcc:8.0 is started, followed by golang1.11.0, and then mysql:5.7.22 is used to build the final image. Can we use multi-stage build to simplify?