Troubleshooting
Start here when a command exits non-zero or the destination does not have the rows you expected. Re-run the same command after you fix the cause. Mfd retries committed batches from the write-ahead log; you do not rewind the source by hand.
Pipeline '<name>' not found
Cause: Mfd has no schema for that pipeline yet.
Fix: Discover first, then sync:
mfd discover --pipeline payments --log
mfd sync --pipeline payments --once --logCheck the name matches pipelines: in mfd.yml.
TABLE_NOT_FOUND
Cause: The destination table does not exist yet. Common on the first sync, or when discover never finished.
Fix: Confirm discover completed, then wait for the first compact. Athena Hive needs glue_database_name on the Athena destination. Tables are not created during ingest.
Destination credential errors
Cause: The warehouse or object store rejected the caller.
Fix: Export the variables your connector page names (for AWS: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_DEFAULT_REGION, or an instance role). Run the command in the same shell. mfd doctor reports missing engine settings.
Mfd could not download a connector
The log line starts Manifold could not find a published runtime.
Cause: Mfd could not download that source or destination. The name is wrong, the pinned version does not exist, or the machine cannot reach install.manifold.soundingworks.uk.
Fix:
- Check the connector name and casing in
mfd.ymlagainst the connector catalog. - Remove
version:if you meant the catalog published with this Mfd release. - Confirm outbound HTTPS to
install.manifold.soundingworks.uk. - On a first run, wait — Mfd caches the download under
~/.mfd/runtime_plugins.
The run did not finish cleanly
Look for Finalising: compactor drain/stop did not complete cleanly, Finalising: durable catalog outbox drain failed, or integrity check mismatch.
Cause: Mfd exited before in-flight writes or catalog commits settled, or uploaded counts do not match expected_uploaded_rows.
Fix: Treat that run's counts as untrusted. Re-run:
mfd sync --pipeline payments --once --logThe next run recovers from the WAL. Confirm Pipeline sync complete and that destination counts match the source. If a summary reports quarantined_parts greater than 0, a slice failed to read. Check source files or objects for corruption, then re-run.
Deadletters
Discarded <n> deadletter records because no deadletter sink is configured means rows failed validation and were dropped. Add a deadletter_sink if you want to inspect them. See Deadletters.
Deadletter id=… ns=… err=… is one failed record. Query the deadletter destination and fix the payload or the schema.
failure_code = ARRAY_MIXED_TYPES is a mixed primitive array ([1234, "BWL"]) or mixed leaves across array-of-object elements (for example integer rpm_min on stage 0 and 1.5 on stage 1). Flatten those values or send one type. Mfd will not create per-element sibling columns. See Schema.
Recovery after a crash
You do not run a special recover command.
- The WAL still holds committed batches.
- Resume positions say how far the source got.
- The next
mfd syncwrites remaining batches and continues the source.
Use the same DATA_DIR (and the same S3 WAL bucket when WAL_STORAGE=s3). Deleting DATA_DIR deletes Manifold Store. If you deleted them, Mfd re-reads the source and append-only destinations can duplicate rows. See WAL and buffering.
