electric
electric copied to clipboard
replication slot "electric_slot_default" is active
Using the following guide I have deployed a new Electric instance on Render.com, and getting the following error in my Web Server logs.
** (Postgrex.Error) ERROR 55006 (object_in_use) replication slot "electric_slot_default" is active for PID 623
I also have another Electric instance that uses the same Neon project but different DB, could there be conflict between the two ? if yes, how can I consolidate two databases to stream into one Electric SQL?
thanks
Hi,
Replication slots are shared for a Neon project. What's happening is that the two electric instances are trying (and conflicting) to create a replication slot with the default name electric_slot_default. You can override the replication slot name by setting the environment variable ELECTRIC_REPLICATION_STREAM_ID.