Skip to content

fix: keep Berkeley database handle valid after clear (3.5.x) - #7

Merged
loong10k merged 1 commit into
3.5.xfrom
fix/berkeley-handle-3.5.x
Oct 31, 2026
Merged

loong10k merged 1 commit into
3.5.xfrom
fix/berkeley-handle-3.5.x

Conversation

@loong10k

Copy link
Copy Markdown
Collaborator

The earlier truncate fix closed and replaced the Database handle, leaving external holders with a stale handle. Delete rows transactionally through a cursor on the same handle, abort on errors, and test successful clear, failed clear, and continued use. JDK 17 clean verify runs 7 tests and passes the unchanged 90% coverage gate.

@loong10k
loong10k marked this pull request as ready for review October 31, 2026 14:18
@loong10k
loong10k merged commit 83906c2 into 3.5.x Oct 31, 2026
1 check passed
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