Closed
Description
Currently Electric does not wait for shape restoration to finish before starting the replication stream. This leads to the ShapeLogCollector being simultaneously bombarded by replication messages (which are just buffered on the ShapeLogCollector) and shape consumer subscriptions, slowing down the restoration time and potentially leading to a restoration timeout or even out of memory on the ShapeLogCollector buffer.
The replication stream should wait for replication to finish before starting streaming.