| Previous | Next |
| STATEREPOSITORY_E_BUSY_RETRY | STATEREPOSITORY_E_LOCKED_RETRY |
STATEREPOSITORY_E_BUSY_RECOVERY_RETRY
The scope of STATEREPOSITORY_E_BUSY_RECOVERY_RETRY is Windows StateRepository: the database is busy because another connection is performing recovery. Preserve 0x80670008 beside the returning call before cleanup or retry creates a more generic secondary failure.
Wrong turns
BUSY_RETRY is generic file contention; BUSY_RECOVERY_RETRY identifies recovery as the blocking phase.
Do not remove journal or WAL files from a live repository.
Object and state
Recovery requires stronger coordination than an ordinary writer. A retry during recovery should wait for the recovery owner to finish and should not launch competing repair attempts.
Capture before retry
- Recovery owner and start time.
- Journal or WAL state on a copy.
- Request retry sequence.
- Previous unclean shutdown evidence.
Controlled comparisons
| Control | Interpretation | Hold constant |
|---|---|---|
| Same database copy, isolated connections | A change points to connection/statement/transaction ownership rather than stored content. | Use a copy and preserve schema plus repository generation. |
| Same operation, controlled environment | If the result follows one machine, account, volume, network, or device, environment matters. | Keep versions and identity explicit rather than comparing only the final message. |
Step-by-step investigation
The investigation should change one variable at a time and keep the original failing sample.
- First: Allow the single recovery process to complete.
- Next: Prevent service restarts from multiplying recovery attempts.
- Then: Check storage health if recovery repeats.
- Finally: Bound retries and preserve event-log correlation.
Closure criteria
Closure requires one recovery completes, subsequent opens are clean, and the original request succeeds without another recovery loop; then repeat the next lifecycle operation to detect stale state.
Technical references
Looking for a different code? Search another status or error code.
