当前位置:网站首页>opengauss从库停掉,发现主库无法写入数据
opengauss从库停掉,发现主库无法写入数据
2022-07-27 07:58:00 【Asky】
当前从库状态
[2022-07-20 16:16:35.377][22720][][gs_ctl]: gs_ctl query ,datadir is /opt/opengauss/data
HA state:
local_role : Standby
static_connections : 1
db_state : Normal
detail_information : FATAL: Forbid remote connection with initial user.
FATAL: Forbid remote connection with initial user.
sync_mode : Async
Senders info:
No information
Receiver info:
No information
停掉从库
[[email protected] data]$ gs_ctl stop -D /opt/opengauss/data
[2022-07-20 16:16:55.580][22765][][gs_ctl]: gs_ctl stopped ,datadir is /opt/opengauss/data
waiting for server to shut down.... done
server stopped
主库无法写入数据
db_test=# insert into tb_test values(5,'name5');
一直hang住这里
其他答案1:
问题解决,需要开启如下参数
most_available_sync=on
边栏推荐
猜你喜欢

孙子出题难,儿子监考严。老子不会做,还我上学钱

LeetCode56. 合并区间
![[ten thousand words long article] thoroughly understand load balancing, and have a technical interview with Alibaba Daniel](/img/fc/1ee8b77d675e34da2eb8574592c489.png)
[ten thousand words long article] thoroughly understand load balancing, and have a technical interview with Alibaba Daniel

存储过程与函数
![[resolved] SSO forwarding succeeded, and there was an unexpected error (type=internal server error, status=500) caused by parameters in the forwarding URL](/img/05/41f48160fa7895bc9e4f314ec570c5.png)
[resolved] SSO forwarding succeeded, and there was an unexpected error (type=internal server error, status=500) caused by parameters in the forwarding URL

C# 中的转译字符'/b'

Leetcode54. 螺旋矩阵

帮个忙呗~不关注不登录,不到一分钟的一个问卷

软件调优方法有哪些?看看飞腾技术专家怎么说 | 龙蜥技术

QingChuang technology joined dragon lizard community to build a new ecosystem of intelligent operation and maintenance platform
随机推荐
【QT】capture. Obj:-1: error: lnk2019: unresolved external symbols__ imp_ Htons (solution)
C language: random generated number + insertion sort
What is the real HTAP? (2) Challenge article
「翻译」SAP变式物料的采购如何玩转?看看这篇你就明白了
自动化测试的使用场景
擎创科技加入龙蜥社区,共建智能运维平台新生态
C语言:随机生成数+希尔排序
Harbor正确密码登录不上去
Internet of things industrial UART serial port to WiFi to wired network port to Ethernet Gateway WiFi module selection
如何获取广告服务流量变现数据,助力广告效果分析?
Day111. Shangyitong: integrate nuxt framework, front page data, hospital details page
【Golang】golang开发微信公众号网页授权功能
抽象工厂模式
软件调优方法有哪些?看看飞腾技术专家怎么说 | 龙蜥技术
Usage scenarios for automated testing
物联网工业级UART串口转WiFi转有线网口转以太网网关WiFi模块选型
Gossip: it's really important to have a rod in your hand and a net on your shoulder. As for how many fish are in the basket?
Grandson's questions are difficult, and his son's invigilation is strict. I can't do it. Pay back my school money
增强:BTE流程简介
Combined use of C WinForm form form event and delegate