Skip to content

dirty files: remove direct file deletes#21053

Open
AskAlexSharov wants to merge 5 commits intomainfrom
alex/no_direct_deletes_35
Open

dirty files: remove direct file deletes#21053
AskAlexSharov wants to merge 5 commits intomainfrom
alex/no_direct_deletes_35

Conversation

@AskAlexSharov
Copy link
Copy Markdown
Collaborator

it's very old unused logic

AskAlexSharov and others added 3 commits May 8, 2026 10:06
On Windows, directly calling closeFilesAndRemove() when refcount==0 can
still fail with "Access is denied" because the OS may hold mmap handles.
Match the pattern already used by dirty_files.go: only mark canDelete=true
and let the last reader clean up inside aggRoTx.Close().

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.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.

2 participants