Skip to content

Conversation

Mytherin
Copy link
Collaborator

We need all table locks to go through SharedLockTable otherwise a transaction can try to obtain the same lock for the same table multiple times. Not using this can cause deadlocks in rare scenarios where we have connections running queries that refer to the same table multiple times while other transactions are trying to checkpoint.

@Mytherin Mytherin merged commit 138b7fe into duckdb:v1.3-ossivalis Jun 21, 2025
48 checks passed
github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Jun 27, 2025
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Jun 27, 2025
Use SharedLockTable in DataTable::Fetch (duckdb/duckdb#17983)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
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