Skip to content

Conversation

@Mytherin
Copy link
Collaborator

Waiting for an ATTACH to finish is not very problematic as this generally involves only starting up the database. Detaches are more problematic since a detach is only finished when all transactions that refer to a given database are closed - hence this could end up taking a very long time / forever.

@duckdb-draftbot duckdb-draftbot marked this pull request as draft September 30, 2025 06:05
@Mytherin Mytherin marked this pull request as ready for review September 30, 2025 06:05
@Mytherin Mytherin merged commit 54de81b into duckdb:v1.4-andium Sep 30, 2025
94 checks passed
github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Oct 1, 2025
ATTACH IF NOT EXISTS: avoid looping waiting for DETACH to finish, wait only for an ATTACH operation to finish (duckdb/duckdb#19193)
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Oct 1, 2025
ATTACH IF NOT EXISTS: avoid looping waiting for DETACH to finish, wait only for an ATTACH operation to finish (duckdb/duckdb#19193)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
@Mytherin Mytherin deleted the attachloop branch December 4, 2025 11:31
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