Skip to content

Logging ​

Add --log to any command. The default level is info. Use --log debug only when you are chasing a specific failure — it is noisy.

bash
skipprd sync --pipeline payments --once --log

Read logs in the terminal or the collector you already use. Skipprd writes structured lines you can grep.

A successful run ​

Treat a sync --once as good when all of these are true:

  1. The process exits 0.
  2. The log contains Pipeline sync complete.
  3. Finalising: compactor drained and stopped exists (when the pipeline has a data_sink).
  4. Compactor: summary has uploaded_rows == expected_uploaded_rows and quarantined_parts=0.
  5. A query against the destination returns the rows you expected.

WAL-only pipelines (No data_sink for pipeline; WAL is the dataset) skip compaction and destination uploads. For those, operate on Pipeline sync complete plus exit 0.

Log event map ​

Use this as a quick lookup: log event -> what it means -> what to do.

Green path events ​

Log event (pattern)MeaningAction
Initializing data directories...Runtime startupNone
Initialized data directories at: ...DATA_DIR readyNone
Persisted config: .../config/...jsonRun config written to Skippr storageNone
get_metadata: pipeline='...' schema=skippr-store:schema/...Schema lookup in Skippr StoreNone
Found existing Skippr metadataSchema family already presentNone
imported metadata.json into schema familyLeftover metadata.json imported onceExpected on first Store cutover
Updated pipeline schema familySchema persisted to Skippr StoreShould appear during discover/evolution
WAL catalog hydrate begin / WAL catalog hydrate completeCatalog rows registered into the live WALCheck live_segments / segments rise after restart/chaos
WAL catalog redo_acked beginAcked compaction rows replayedNone
WAL catalog republish begin / WAL catalog republish completeOffsets republished from the catalogExpected on startup
WAL startup completeWAL import, hydrate, and republish finishedRequired before ingest
Output plugin: <name>Destination selectedNone
No data_sink for pipeline; WAL is the datasetWAL-only pipeline; compaction skippedDo not expect upload/summary equality
Syncing pipelineNamed pipeline started (pipeline=, pipeline.type=)None
stream processor startedStream transforms/MVs activeNone
Syncing bucket: <bucket>, prefix: <prefix>S3 source listing startedNone
Starting stream pipeline (...)S3 ingest worker pipeline activeNone
Queueing ... ingest tasks ...Batches entering the worker queueWatch if queue grows without progress
Discovered new namespace: ...New table seen in inputExpected on first run
Discovered new field: ...Schema evolution detectedExpected with changing payloads
Schema discovery complete, writing metadata to SkipprDiscover finished samplingDiscover path only
Schema sync: updating namespace ... version ...Destination catalog DDL in flightNone
Schema sync: synced namespace ... version ...Destination schema publishedShould follow evolution
Uploaded s3://... to S3 (rows=..., bytes=..., namespace=...)Destination object writtenWarehouse sinks log their own apply line instead
Messages per Min: ...Throughput snapshotTrend only
Uploads total: ..., inflight: ..., avg latency: ...Output pressure telemetryInvestigate if inflight/latency spike
Targets - upload: ..., wal: ..., s3_download: ...Autotuned concurrencyTrend only
WAL writer: queue=... pending=...WAL persist pressureInvestigate if pending grows without persist
Reached end of source dataSource plugin finished (--once or bounded source)Must be followed by finalising
Finalising: draining stream processorStream processor shutdown startedNone
Finalising: draining and stopping compactorEnd-of-run drain startedMust be followed by success line
Compactor drain: elapsed=...Drain progress heartbeatWatch no progress while backlog stays high
Finalising: compactor drained and stoppedEnd-of-run drain completeRequired for trustworthy completion when a sink is configured
Finalising: draining schema sync worker / Finalising: schema sync worker drainedCatalog DDL worker settledNone
Finalising: draining durable catalog outboxIceberg/Glue catalog commits flushingMust be followed by finished or failed
Finalising: durable catalog outbox drain finishedCatalog commits settledRequired before treating Iceberg/Athena as queryable
Compactor: summary uploaded_rows=X wal_write_rows=Y expected_deadletters=Z expected_uploaded_rows=W quarantined_parts=QFinal integrity snapshotExpect X == W (W is Y + Z) and Q == 0
Pipeline sync completeRun completedFinal success marker

High-priority warnings and errors ​

Log event (pattern)MeaningAction
Finalising: stream processor drain did not complete cleanlyStream processor still in flight at shutdownTreat stream state as untrusted. Re-run.
Finalising: compactor drain/stop did not complete cleanlyShutdown safety invariant failedTreat the run as failed/untrusted. Re-run.
Finalising: durable catalog outbox drain failedCatalog commits did not settleTreat destination catalog as untrusted. Re-run.
Compactor: integrity check mismatchuploaded_rows != wal_write_rows + expected_deadletters or quarantined_parts > 0Treat as a correctness risk; validate destination counts
quarantined_parts > 0 (in summary)Partition(s) quarantined after a read/parse failureInvestigate WAL/object integrity
hydrate kept unreadable catalog rowA catalog segment payload could not be registeredIntegrity check before trusting resume
DATA_DIR pause escape found ... unreadable committed WAL segmentPause recovery found corrupt WALStop. Do not resume ingest until WAL is intact
Deadlettered ... records into WALFailed records written to the deadletter sinkInspect the deadletter table
Discarded ... deadletter records because no deadletter sink is configuredFailed records droppedAdd a deadletter_sink if you need to inspect them
CDC update rejected: no before-imageCDC update had no before-image; no WAL rowFix source image settings (REPLICA IDENTITY FULL / binlog_row_image=FULL)
Schema sync: published output for ...Destination schema could not be builtTreat catalog DDL as failed
Skippr could not find a published runtimeConnector download/name/version failedSee Troubleshooting
TABLE_NOT_FOUNDDestination table missingDiscover succeeded? Re-run sync so the sink can create the table
Pipeline '<name>' not foundNo schema for that pipeline (query/SQL)Run skipprd discover --pipeline <name> first
Pipeline '<name>' disabled, skipping.Pipeline is toggled offExpected; not a failure

Throughput lines (Messages per Min, Uploads total, WAL writer, Targets) are trends, not a pass/fail signal.

Fast trust checklist ​

A run is operationally green if all are true:

  • Exit 0
  • Pipeline sync complete
  • Finalising: compactor drained and stopped (skip when WAL-only)
  • Finalising: durable catalog outbox drain finished when that line appears
  • Compactor: summary uploaded_rows == expected_uploaded_rows and quarantined_parts=0
  • Downstream query can read the destination table(s)

--log perf keeps skipprd::perf PERF_EVENT lines and turns on COPY Instant timers (skippr.perf_profile). Use it for skippr-perf and local COPY benches, not production.

Chaos testing ​

SKIPPR_CHAOS_MODE=yes kills the process on purpose. You should see Chaos mode throwing a random exit..., then a SIGKILL (exit 137), then a later run that recovers. The recovery run logs WAL catalog hydrate complete / WAL catalog republish complete with live segments from the interrupted write. Leave chaos off in production. See Advanced settings.

Next steps ​