Skip to content

FIX-292: Finish deferred unmapping before empty-cycle recovery - #1775

Open
peter-lawrey wants to merge 6 commits into
bugfix/read-only-directory-bindingsfrom
bugfix/FIX-292-release-cycle-before-recovery
Open

peter-lawrey wants to merge 6 commits into
bugfix/read-only-directory-bindingsfrom
bugfix/FIX-292-release-cycle-before-recovery

Conversation

@peter-lawrey

Copy link
Copy Markdown
Member

Empty-cycle recovery closes its mapped bytes and removes the cache entry, then renames the unusable segment. Those releases can be deferred, so Windows can reject the rename while this process still owns the mapping. Drain pending releases before attempting that recovery rename; retain the existing read-only handling and header timeout.

A subprocess regression leaves background releases queued and runs the existing empty-cycle append/readback scenario. It owns and bounds the child process, preserves the data assertions, and requires the recovery warning. Existing coverage still exercises a segment locked by another process.

Stacked on #1774, which includes the fixture cleanup from #1770. The recovery delta is kept separate from the partial directory-binding repair.

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