Task operations and troubleshooting
This chapter covers daily task operations, health assessment, logs and performance, restart recovery, tuning, symptom-based troubleshooting, error codes, upgrade and rollback, and diagnostic handover. It is the entry point for on-call inspections and incident response. Start routine inspections on page 01, failures with the entry table on page 06, and support ticket preparation on page 09.
Where to operate: taosExplorer, including task management and the Data Browser; taos CLI; logs and service management on execution nodes and agent hosts; the monitoring cluster and Grafana.
Record objects, locations, and failure times first, then collect evidence along service → task → source reads → processing and writes → target data. A running task does not establish complete data. Do not make restarts, consumer group changes, or cache deletion default troubleshooting steps.
- Daily operations: inspection, start/stop, changes, and task import/export.
- Health assessment and missing-data investigation: layered checks and identifiable sample verification.
- Logs and performance: log paths, Grafana/SQL metrics, and error archives.
- Restarts, checkpoints, and store-and-forward: preserve progress, caches, and interruption windows.
- Tuning and resource control: baselines, parameter changes, resource budgets, and raw-data retention.
- Troubleshooting by symptom: ordered checks starting from observable symptoms.
- Error codes and log keywords: locate logs, choose investigation directions, and verify fixes.
- Upgrade, rollback, and verification: preparation, version checks, and data verification.
- Diagnostic packages and support tickets: manual collection, redaction, packaging, and pre-delivery checks.
For initial deployment, see Deployment and security. For database recovery, see Backup and restore. For syntax and metric definitions, see Technical reference.