cockroachdb / cockroachdb/cockroach
import: increase resilience to potentially retriable errors in validation
Open
A-import
C-enhancement
O-testcluster
P-3
T-sql-queries
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
As seen in https://github.com/cockroachdb/cockroach/issues/120898 (and potentially in https://github.com/cockroachdb/cockroach/issues/120897), IMPORT can fail in the constraint validation phase. These failures are especially painful if the underlying cause can be remedied (as may be the case with both of these instances), as the entire IMPORT job must be restarted.
It would be nicer if we put these jobs in the paused state in cases where user intervention may allow the validation to succeed.
Jira issue: CRDB-36937
Contributor guide
Assessment
This issue has not been assessed yet.