View Source Electric.Replication.SchemaReconciler (electric v1.0.12)

Takes 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.init/1.

Triggers an immediate schema reconciliation check.

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

handle_continue(atom, state)

View Source

Callback implementation for GenServer.handle_continue/2.

Callback implementation for GenServer.init/1.

Link to this function

reconcile_now(name_or_pid)

View Source

Triggers an immediate schema reconciliation check.