postgres逻辑复制停顿

时间:2018-09-27 23:07:42

标签: postgresql logical-replication

我的订户服务器似乎卡在WAL条目中。订阅服务器上的日志显示:

could not receive data from WA: stream: server closed the connection unexpectedly

订户说Received_lsn和Latest_end_lsn是D / DA223D38。

发布服务器日志显示:

2018-09-27 16:41:39.826 PDT [22332] LOG:  starting logical decoding for slot "sub247"
2018-09-27 16:41:39.826 PDT [22332] DETAIL:  streaming transactions committing after D/DA223D38, reading WAL from D/D62AF9D0
2018-09-27 16:41:39.827 PDT [22332] LOG:  logical decoding found consistent point at D/D62AF9D0
2018-09-27 16:41:39.827 PDT [22332] DETAIL:  There are no running transactions.

并且pg_stat_replication显示write_lsn等是D / Da223D38,send_lsn是D / DA224FD8。

两个服务器是否以某种方式错过了它们之间的WAL条目?我该怎么做才能再次同步它们?

0 个答案:

没有答案