Parameter | Type | Default | Purpose | Behavior/When to Use |
---|---|---|---|---|
consistentPush SwapEnabled | Mandatory (Boolean) | false | Enables a full table refresh to atomically replace the entire table with new files. | Overrides consistentPushEnabled. Deletes data in Pinot if corresponding source files are deleted. |
consistentPush Enabled | Mandatory (Boolean) | false | Allows atomic ingestion of a new set of files without full table replacement. | Manages atomic transitions. Retains original behavior for sync or append operations. |
clearConsistent PushState | Optional (Boolean) | false | Clears the metadata and progress state associated with the consistent push session in ZK. | Use for debugging or resetting corrupted metadata. Default retains 2 ingestion sessions for troubleshooting. |
consistentPushMax Retries | Optional (Integer, max: INT_MAX) | 0 | Configures the max retries for tasks if file ingestion fails. | Useful for large ingestions to avoid reprocessing successful files when retrying after failures. |
retryCount (read-only) | Integer | Tracks the number of retries for a task. | Stored in ZK at /pinot/PROPERTYSTORE/ MINION_TASK_METADATA/<tableName> /FileIngestionTask/ consistentPush/ <cpSessionNode> | |
state (read-only) | Enum (INIT, IN_PROGRESS, SWITCH, DONE) | Tracks the current status of an ingestion session. | INIT: Session starts. IN_PROGRESS: Ingestion ongoing. SWITCH: Preparing final ingestion stage. DONE: All data ingested and queryable. Retries required if state isn’t DONE. |