Skip to content

Conversation

taniabogatsch
Copy link
Contributor

Solves the issue of the logger trying to flush (using the buffer manager lock) while writing a lock entry holding the buffer manager.

Related issue: https://github.com/duckdblabs/duckdb-internal/issues/5454

Solving this long-term requires some re-thinking of the logger, as we can never have logs in code paths we need for flushing/or we cannot flush in any code paths we potentially could log in.

@hannes hannes requested a review from samansmink August 18, 2025 11:39
@taniabogatsch
Copy link
Contributor Author

I'll merge the latest ossivalis changes to see if the Windows failure still reproduces.

@taniabogatsch taniabogatsch marked this pull request as draft August 18, 2025 14:51
@taniabogatsch taniabogatsch marked this pull request as ready for review August 18, 2025 15:02
@Mytherin Mytherin merged commit 3ed3b4f into duckdb:v1.3-ossivalis Aug 19, 2025
53 checks passed
@Mytherin
Copy link
Collaborator

Thanks!

@taniabogatsch taniabogatsch deleted the logger-deadlock branch August 19, 2025 08:24
github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Aug 19, 2025
[Fix] Prevent logger deadlock (duckdb/duckdb#18637)
Add enable verification config run (duckdb/duckdb#18467)
bump httpfs (duckdb/duckdb#18591)
Backport renaming a config name `small_block_size.json` to `block_size_16kB` in NightlyTests (duckdb/duckdb#18581)
[Fix] Tidy check ossivalis (duckdb/duckdb#18583)
Add verify fetch row config to Main.yml (duckdb/duckdb#18478)
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Aug 19, 2025
[Fix] Prevent logger deadlock (duckdb/duckdb#18637)
Add enable verification config run (duckdb/duckdb#18467)
bump httpfs (duckdb/duckdb#18591)
Backport renaming a config name `small_block_size.json` to `block_size_16kB` in NightlyTests (duckdb/duckdb#18581)
[Fix] Tidy check ossivalis (duckdb/duckdb#18583)
Add verify fetch row config to Main.yml (duckdb/duckdb#18478)

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants