electric
electric copied to clipboard
Replication timeout when loading shapes takes too long
As part of Commit c8c54b2 we no longer wait for the shapes to be loaded before starting replication streaming. This introduced a bug where Postgres can close the connection due to a timeout (default 60s) while waiting for the shapes to be loaded because the replication stream will not be processed until all the shapes are loaded.
The Connection.Manager should wait for the ShapeLogCollector to be ready before starting the replication stream.