Skip to content

Conversation

Mytherin
Copy link
Collaborator

Previously the AdditionalLockInfo would override the original error, instead of providing extra info. In addition, when no PIDs were found, the error was replaced with File is already open in . This would cause the lock error to be rather non-descriptive:

IOException: File is already open in

This PR fixes it so this is actually used as extra information in the error, and we only report PIDs if any are found.

@Mytherin Mytherin merged commit bbf0c28 into duckdb:v1.3-ossivalis May 23, 2025
48 checks passed
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Jun 2, 2025
@Mytherin Mytherin deleted the improvelockerrorwindows branch June 12, 2025 15:27
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