Skip to content

Back off transient LMDB read retries#2858

Merged
plajjan merged 1 commit into
mainfrom
lmdb-transient-backoff
Jun 4, 2026
Merged

Back off transient LMDB read retries#2858
plajjan merged 1 commit into
mainfrom
lmdb-transient-backoff

Conversation

@plajjan

@plajjan plajjan commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Concurrent .tydb readers can still receive raw OS-level LMDB errors while opening a read transaction or its database handle against a freshly opened environment. The existing retry path keeps semantic LMDB failures visible, but its retry window was too short for temporary lock-table races.

This keeps the same transient-error classification and gives those read transaction retries a larger window, so a temporary lock-table race can settle before we report a real LMDB failure.

Concurrent .tydb readers can hit raw OS-level LMDB errors while
opening a read transaction or its database handle against a freshly
opened environment. The retry path already keeps semantic LMDB errors
visible, but its retry window was too short for temporary lock-table
races.

Keep the same transient-error classification and use a larger retry
window, so opening a read transaction has more time to settle before
reporting a real LMDB failure.
@plajjan
plajjan force-pushed the lmdb-transient-backoff branch from d2fefb5 to dfd2d97 Compare June 3, 2026 21:55
@plajjan plajjan changed the title Back off transient LMDB retries Back off transient LMDB read retries Jun 3, 2026
@plajjan
plajjan merged commit f26fd43 into main Jun 4, 2026
46 checks passed
@plajjan
plajjan deleted the lmdb-transient-backoff branch June 4, 2026 14:51
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