Shareplex -- Verified config file too large to display

当配置文件过大时,验证命令的结果不会在sp_ctrl界面显示,而是保存到临时目录下的文件中。通过查看该文件,可以更方便地使用操作系统编辑器查找问题。本文详细解释了这一现象,并提供了解决方案。

有同事在测试环境遇到问题。是新增了一张表到复制通道,结果报错,于是查看一下。

 

sp_ctrl (abc-vip:11111)> verify config a.cfg

  Verified config file too large to display
  View detailed config in /abc/var_11111/temp/a.cfg

sp_ctrl (abc-vip:11111)>

提示已经很明显了,到结果文件中查看一下即可。

     Error --> Source is defined in line 201 to same target

原来是新增的表其实早就在配置文件中了。

 

官方提示:

Resolution

If the config file is small, then the results will be displayed on the screen. However, in case of a large config file the results of "verify config" are not displayed on sp_ctrl interface and are saved in a file. This works better because the output will be too large to be searched for problems. Instead, the result is saved in a file within the temp directory under the variable directory as mentioned in the output of "verify config" and it is easier to analyze it for problems using the OS editor. For example, in case of looking for errors, the string "Error" can be searched using an editor.

 

 

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值