Skip to content

Skip initial backoff for unprocessed keys during dynamodb restore - #1110

Open
CharlesPeacock wants to merge 1 commit into
masterfrom
TRON-2651_Further_restart_improvements
Open

Skip initial backoff for unprocessed keys during dynamodb restore#1110
CharlesPeacock wants to merge 1 commit into
masterfrom
TRON-2651_Further_restart_improvements

Conversation

@CharlesPeacock

Copy link
Copy Markdown
Contributor

Motivation:

As of recently, Tron has been reaching restart times of over 6 minutes in pnw-prod. The motivation of this series of PRs is to reduce this number in the safest and most approachable way possible.

By not doing time.sleep() on the first 3 reattempts on _get_items after an UNPROCESSED_KEYS error, we can save some time since most retrieval errors are fixed on immediate retries.

This is the first of many incremental restart improvements.

Tests pass and an existing unit test was modified to reflect new behavior.

@CharlesPeacock
CharlesPeacock marked this pull request as ready for review July 28, 2026 16:10
@CharlesPeacock
CharlesPeacock requested a review from a team as a code owner July 28, 2026 16:10
@CharlesPeacock
CharlesPeacock requested a review from KaspariK July 28, 2026 16:10
@CharlesPeacock CharlesPeacock self-assigned this Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant