mirror of
https://github.com/grafana/grafana.git
synced 2026-06-15 11:29:43 -04:00
Provisioning: Retry SQLITE_BUSY on repo status patch The repository status patcher only retried K8s optimistic-concurrency conflicts. When the unified storage SQL backend bubbles a transient SQLITE_BUSY through the apiserver (as a 500 InternalError carrying the "database is locked"/"SQLITE_BUSY" text), the patch failed instead of retrying. This surfaced as flakes such as TestIntegrationProvisioning_FullSync_FolderMetadataTitle on the SQLite shards. Switch to retry.OnError with a predicate that retries both K8s conflicts and SQLite lock contention, and add a unit test for the new path. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| connection_status.go | ||
| historyjob.go | ||
| job.go | ||
| job_test.go | ||
| labels.go | ||
| labels_test.go | ||
| status.go | ||
| status_test.go | ||