故障现象
HGDW集群。同步备库standby宕机,同时查询慢。standby日志报错如下
2022-11-23 15:00:59.626549 CST,,,p99618,th1765820480,,,,0,,,seg-1,,,,,"FATAL","XX000","the limit of 818 distributed transactions has been reached","It should not happen. Temporarily increase max_connections (need postmaster reboot) on the postgres (master or standby) to work around this issue and then report a bug",,,,"xlog redo distributed commit 2022-11-18 04:34:25.408317+08 gid = 3776315472-0000032765 gid = 1634724298-0555780955, gxid = 555780955",,0,,"cdbdtxrecovery.c",571,"Stack trace:
1 0xa49a1e postgres errstart + 0x439
2 0xb3c24b postgres redoDistributedCommitRecord + 0x14c
3 0x51519b postgres <symbol not found> + 0x51519b
4 0x5154fe postgres xact_redo + 0x1a6
5 0x52b893 postgres StartupXLOG + 0x1d27