Electric.Replication.SchemaReconciler (electric v1.1.0)
View SourceTakes care of periodically reconciling the schema of the database with the inspector caches and active shapes.
Covers cases where either the table was recreated and thus isn't in the publication anymore, or where some alterations were made to the schema, but we don't see them because there were no writes to the affected tables.
Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.handle_continue/2
.
Callback implementation for GenServer.init/1
.
Triggers an immediate schema reconciliation check.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Callback implementation for GenServer.handle_continue/2
.
Callback implementation for GenServer.init/1
.
Triggers an immediate schema reconciliation check.