You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@robacourt did we end up introducing any endpoint for a controlled shutdown of a single Electric that cleans up the replication slot? If not (cause I don't see one), should we add one?
We already have an environment variable called CLEANUP_REPLICATION_SLOTS_ON_SHUTDOWN which defaults to false, that would create a temporary replication slot such that it is automatically cleaned up when electric shuts down. Perhaps this is enough for use cases where an Electric is transient, and for cases where someone wants a persistent slot between restarts we should advise they manually clean the slot?
We need a termination endpoint for Electric to cleanup storage and remove any existing replication slot.
Right now if someone wants to stop using Electric, they need to manually remove the replication slot from Postgres, otherwise WAL will keep growing.
The text was updated successfully, but these errors were encountered: