Load High Availability
VeloDB Cloud separates compute from shared object storage. Load availability depends on the selected cluster, connectivity to the source, transaction processing, and available resources. The majority-write and min_load_replica_num procedures for self-managed Apache Doris do not apply to this architecture.
Applicability of replica settings
The Cloud table-property analyzer ignores min_load_replica_num and rewrites replica-allocation properties. Setting these properties does not select a minimum number of local BE replicas that must acknowledge a Cloud load.
| Upstream setting or procedure | VeloDB Cloud behavior and action |
|---|---|
Table property min_load_replica_num | Ignored in Cloud mode. Do not use it to change load durability or availability. |
Table properties replication_num and replication_allocation | Managed by the service. A value such as replication_num=1 does not create a customer-controlled single-replica storage policy. |
Global FE min_load_replica_num | Do not configure FE files to change Cloud write behavior. Contact VeloDB Cloud support for service-side issues. |
| Repairing missing local BE replicas | Managed shared storage and compute recovery replace the self-managed replica-repair workflow. |
Check the load result before retrying
A timeout or lost connection does not prove that a transaction failed. It may have committed before the response reached the client. Use the result and status interface for the load method before submitting the data again.
| Load method | Check | Retry or recovery action |
|---|---|---|
| Stream Load | Inspect the JSON result, label, transaction ID, row counts, and available load history. | For ordinary label-based Stream Load, preserve the logical batch label and check its status before retrying. Publish Timeout requires a status check, rather than an immediate load with a new label. |
| Broker Load | Run SHOW LOAD and inspect the job state and error message. | Wait for FINISHED. Investigate a failed job before resubmitting. Successful SQL submission alone does not mean that the data is loaded. |
| Routine Load | Run SHOW ROUTINE LOAD and inspect state, progress, Kafka lag, and the pause reason. | Eligible failures can auto-resume. Manual pauses, data-quality failures, and unrecoverable errors require intervention. Keep Kafka retention long enough for recovery. |
INSERT | Inspect statement results and query the target table. | A lost response can leave the outcome uncertain. Use an application retry design that accounts for the target table model and possible prior commit. |
| Group Commit | Inspect the returned mode-related fields and query for the expected data. | In async_mode, acknowledgment precedes transaction visibility. Group Commit generates shared labels, so ordinary per-request label deduplication does not apply. |
Plan for recoverable failures
- Use the endpoint and network path generated for the selected warehouse and cluster. See connection methods.
- Retain the source data until the load outcome is confirmed. For streaming sources, size retention for the expected outage and catch-up period.
- Use bounded retries with backoff. Avoid creating a new batch identifier after every timeout without checking the original outcome.
- Monitor load failures, visibility delay, Kafka lag when applicable, and cluster utilization. Reduce concurrency if retries are adding pressure to an overloaded cluster.
- Preserve job IDs, labels, transaction IDs, timestamps, and error messages when contacting VeloDB Cloud support. Exclude credentials and sensitive row data.
Understand the Group Commit durability boundary
async_mode acknowledges data after writing its local write-ahead log (WAL), before the grouped transaction becomes visible. A lost or corrupt WAL can cause data loss before commit. Use sync_mode when the application needs a successful load response to follow synchronous transaction processing. Inspect the returned status and verify visibility when the response is uncertain.
Cluster maintenance and WAL recovery are service-managed. Do not run self-managed BE decommission, filesystem repair, or WAL deletion commands. See Group Commit for mode selection and limitations.
Common errors
| Symptom | Check and resolution |
|---|---|
| Loads fail while queries still work | Check write privileges, source access, selected cluster, and resource utilization. Query connectivity alone does not establish that the source-to-worker path works. |
| The client times out but rows appear later | Check the original load or transaction state before retrying to avoid duplicate ingestion. |
| A Routine Load job remains paused | Inspect the pause reason, correct the source or data-quality problem, and resume the job when appropriate. |
| Group Commit returns success but rows are not visible yet | Check whether async_mode is active and allow for commit scheduling. Persistent delay or WAL errors need service investigation. |