Skip to content

Conversation

Mytherin
Copy link
Collaborator

This PR fixes a threading issue in the Metadata Manager caused by performing reads while checkpointing. In particular, reads can trigger metadata loads due to lazy metadata reading - which can cause a race with the checkpointing code that writes new metadata to disk.

In addition, we expand the attach / detach test to do more operations (such as checkpointing and delete + inserts in a single transaction) to help detect more issues.

@Mytherin Mytherin merged commit 4039239 into duckdb:v1.4-andium Sep 18, 2025
52 checks passed
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Sep 29, 2025
Fix threading issues in metadata manager, and expand concurrent attach / detach fuzz test (duckdb/duckdb#19054)
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