38 Star 102 Fork 108

openGauss / openGauss-connector-jdbc

 / 详情

【P】opengauss CM集群通过JDBC建立流复制连接(非普通连接)提示错误

待办的
需求
创建于  
2023-02-09 17:26

【标题描述】:
【测试版本:3.0.3】
通过JDBC建立流复制连接时出错,是否需要配置其它连接参数?
【操作系统和硬件信息】
centos Linux release 7.6.1810(Core)
【测试环境】
一主两备
【数据库版本】(查询命令: gaussdb -V):
3.0.3
【操作步骤】(请填写详细的操作步骤):
opengauss CM集群,一主两模式, 无vip。要通过opengauss的逻辑复制功能采集增量数据,因此需要建立一个流复制连接。
jdbc连接串为 jdbc:opengauss://172.16.100.160:26000,172.16.100.161:26000,172.16.100.162:26000/postgresql?targetServerType=master
设置了targetServerType=master目的是想一直连主。

【问题现象】:
创建复制流连接时报错。报错信息为FATAL:replication command parser returned 1

评论 (3)

longtian001 创建了缺陷

Hey @longtian001, Welcome to openGauss Community.
All of the projects in openGauss Community are maintained by @opengauss-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at Here to find the details.

opengauss-bot 添加了
 
sig/connectors
标签

Hi @longtian001,
if you want to get quick review about your issue, please contact the owner in first: @周斌 ,
and then any of the maintainers: @Pike
and then any of the committers: @汪伟 , @travelliu , @aaronwell , @Loong , @Kamus , @vimiix
if you have any question, please contact the SIG: Connectors.

longtian001 修改了描述
longtian001 任务类型缺陷 修改为需求

@longtian001 请提供一下测试代码,从报错信息来看可能并未直正的开启逻辑复制导致的异常。

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5622128 opengauss bot 1581905080
Java
1
https://gitee.com/opengauss/openGauss-connector-jdbc.git
git@gitee.com:opengauss/openGauss-connector-jdbc.git
opengauss
openGauss-connector-jdbc
openGauss-connector-jdbc

搜索帮助