当前位置:网站首页>Solve the problem that the timeline does not match when the gold warehouse database kingbasees uses -- force rewind to forcibly pull up the standby machine
Solve the problem that the timeline does not match when the gold warehouse database kingbasees uses -- force rewind to forcibly pull up the standby machine
2022-04-22 20:01:00 【Thousands of sails passed by the side of the sunken ship_】
problem describe
When the cluster status is as follows :
1 | node1 | standby | ! running as primary | | default | 100 | 5 | user=esrep dbname=esrep port=54356 host=10.10.8.43 connect_timeout=10 keepalives=1 keepalives_idle=10 keepalives_interval=1 keepalives_count=3
2 | node2 | primary | * running | | default | 100 | 4 | user=esrep dbname=esrep port=54356 host=10.10.8.44 connect_timeout=10 keepalives=1 keepalives_idle=10 keepalives_interval=1 keepalives_count=3
./repmgr node rejoin -Uesrep -d esrep -h 10.10.8.44 -p 54356 --force-rewind
ERROR: this node's timeline is ahead of the rejoin target node's timelineDETAIL: this node's timeline is 5, rejoin target node's timeline is 4
Cause analysis
Because the standby machine fails , Cause the timeline to change , When the state changes , Timeline plus 1. As a result, the time line of the standby machine is higher than that of the host . It is reasonable to say that the time line of the cluster host should be up-to-date , Otherwise, the data will be different .
Solution
Add parameter --no-check-wal Forcibly pull up . The order is as follows :
./repmgr node rejoin -Uesrep -d esrep -h 10.10.8.44 -p 54356 --force-rewind --no-check-wal
Reference material
版权声明
本文为[Thousands of sails passed by the side of the sunken ship_]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204221959516530.html
边栏推荐
- 这就是深度学习如此强大的原因
- 听不懂梗怎么办?谷歌5400亿参数新模型可以给你解释笑点,还能通过emoji表情猜电影
- Why do I suggest you work in a technical position instead of a clerical position, sales
- 运动戴什么耳机好、跑步听音乐的最佳设备
- What is the reason why the camera device with built-in 4G card of Haikang cannot register with easycvr platform?
- The new pytorch library by the author of "lottery hypothesis" is popular
- 解决金仓数据库KingbaseES对pg模式的单机数据库插入数据时,出现日志打印的问题
- EasyCVR流媒体内核无法启动是什么原因?
- Anaconda新建环境并安装GPU版本的pytorch
- 金仓数据库KingbaseES之null和“ ”的区别
猜你喜欢

为什么说PuddingSwap或许为成为GameFi领域的一匹强势黑马?

开源免费,最好用的3大系统9大防火墙软件安利给你们

启动kingbase单机服务时报错:invalid value for parmeter “bindcpulist”:”0-95”

隔壁的wifi,我秒破

Format for creating Zimbra LDAP users using LDAP clients

运动戴什么耳机好、跑步听音乐的最佳设备

使用ldap客户端创建zimbra ldap用户的格式

"Shandong University project training" Research on radiation pre calculation rendering and post-processing noise reduction system (I)

Anaconda creates a new environment and installs the GPU version of pytorch

What is the reason why easycvr streaming media kernel cannot be started?
随机推荐
Industry trends are far more important than efforts -- top test technology summary
骗子用AI语音获利近1.8亿,受害者:听不出来是机器人啊
go实现 银行卡Luhn校验
家用智能投影仪首选,走进极米H3S投影
Open source, free and best used 3 systems and 9 firewall software Amway gives you
[leetcode daily question] rotation function
The new pytorch library by the author of "lottery hypothesis" is popular
DBUS client user guide
5篇关于强化学习在金融领域中应用的论文推荐
[practice summary]
Problems that must be avoided in the process of top survey technology sorting and transformation
运动戴什么耳机好、跑步听音乐的最佳设备
Go realizes Luhn verification of bank card
让模型训练速度提升2到4倍,「彩票假设」作者的这个全新PyTorch库火了
FPGA SEU problem and SEM core
New generation agent weapon - traefik
Internet News: Lenovo announced the new progress of ESG; Excellent sound and painting of Jimi h3s and z6x Pro were highly praised; Little red book responded to "layoffs of 20%"
高级ipc - dbus详解
go语言的时间格式
期货开户在手机上办理安全吗?需要线下客户经理协助办理吗?