mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5016] [MERGED] Promote storage writer safety fix to main #6591
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6591
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5016
Author: @SpicyMarinara
Created: 8/14/2026
Status: ✅ Merged
Merged: 8/14/2026
Merged by: @SpicyMarinara
Base:
main← Head:staging📝 Commits (8)
219331bfix: prevent concurrent storage writers5896a4ffix: prevent concurrent file storage writersd02cb7fRevert "fix: prevent concurrent file storage writers"ef67f34fix: add portable storage writer lockf360e55Merge remote-tracking branch 'origin/main' into hotfix/5013-storage-single-writer1aca082fix: harden storage writer lease lifecycle83c11eafix: close storage writes before releasing leasea8b104cMerge pull request #5014 from Pasta-Devs/hotfix/5013-storage-single-writer📊 Changes
6 files changed (+544 additions, -29 deletions)
View changed files
📝
CHANGELOG.md(+4 -0)📝
docs/TROUBLESHOOTING.md(+6 -0)📝
package.json(+2 -1)📝
packages/server/src/db/file-backed-store.ts(+313 -27)📝
packages/server/src/services/mari-db/mari-db.service.ts(+5 -1)➕
scripts/regressions/storage-writer-lock.regression.ts(+214 -0)📄 Description
Linked issue
Closes #5013
Why this change
stagingtomainso concurrent Engine processes cannot silently overwrite the same file-native data directory.What changed
a8b104cba93c1df191c12b7fff15d472bdb2e07dwithout additional edits.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.