Skip to content

fix(view): harden rename lock cleanup#62483

Draft
joshtrichards wants to merge 3 commits into
masterfrom
jtr/fix-locking-view-rename-cleanup
Draft

fix(view): harden rename lock cleanup#62483
joshtrichards wants to merge 3 commits into
masterfrom
jtr/fix-locking-view-rename-cleanup

Conversation

@joshtrichards

Copy link
Copy Markdown
Member
  • Resolves: #

Summary

More locking hardening...

Harden View::rename() lock cleanup and simplify its control flow.

  • Release partially acquired locks when a later lock acquisition fails
  • Preserve rename errors when lock downgrade or release cleanup fails
  • Log suppressed lock-cleanup failures
  • Add regression coverage for storage rename failures

TODO

  • ...

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Preserve operation errors, release partially acquired locks, and log
cleanup failures without masking the original exception.

Assisted-by: Copilot:GPT-5.6

Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.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