Forward replication issues
Performance troubleshooting
If MOLT Replicator appears hung or performs poorly:-
Enable trace logging with
-vvto get more visibility into the replicator’s state and behavior. -
If MOLT Replicator is in an unknown, hung, or erroneous state, collect performance profiles to include with support tickets. Replace
{host}and{metrics-port}with your Replicator host and the port specified by : - Monitor lag metrics and adjust performance parameters as needed.
Unable to create publication or slot
This error occurs when logical replication is not supported.Resolution: If you are connected to a replica, connect to the primary instance instead. Replicas cannot create or manage logical replication slots or publications.Verify that the source database supports logical replication by checking thewal_level parameter on PostgreSQL:wal_level is not set to logical, update it and restart PostgreSQL:Replication slot already exists
Dropping a replication slot can be destructive and delete data that is not yet replicated. Only use this if you want to restart replication from the current position.
Publication does not exist
Could not connect to PostgreSQL
--sourceConn connection string matches exactly where you created the publication and slot. Verify you’re connecting to the same host and port where you ran the CREATE PUBLICATION and SELECT pg_create_logical_replication_slot() commands. Check if TLS certificates need to be included in the connection URI.Wrong replication slot name
Schema drift errors
Indicates source and target schemas are mismatched:Apply flow failures
Apply flow failures occur when the target database encounters error conditions such as unique constraint violations, target database being unavailable, or incorrect data (missing or extraneous columns) during apply operations:Failback issues
If the changefeed shows connection errors inSHOW CHANGEFEED JOB:Connection refused
INTO configuration. Confirm the host and port are correct.Incorrect schema path errors
This error occurs when the webhook URL path does not match the target database schema naming convention:INTO clause when you create the changefeed. For example: webhook-https://replicator-host:30004/database/schema.Resolution: Verify the webhook path format matches your target database type:- PostgreSQL targets should use
/database/schemaformat. For example,webhook-https://replicator-host:30004/migration_db/migration_schema.

