mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-24 22:01:13 -06:00
[PR #272] [MERGED] Improve read/write stability #202
Labels
No labels
IndexedDB
browser
bug
dependencies
documentation
duplicate
enhancement
feature request
indexes
indexes
invalid
pull-request
query
question
transaction logging
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase#202
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/appy-one/acebase/pull/272
Author: @appy-one
Created: 4/15/2026
Status: ✅ Merged
Merged: 4/16/2026
Merged by: @appy-one
Base:
master← Head:improve-read-write-stability📝 Commits (6)
c1ea087Enhance node read/write error handling, automatically await child stream callback promises, fix locks potentially not being released upon error, reduce mem/cpu usage when reading/writing large nodes (maybe also slowing down a bit but not noticeably when running the tests), improve logging1c97222(commented out) add a way to test with very short lock timeouts52220b9Improve node-lock test to handle lock timeouts correctly4efe992Fix transaction log tests that did not always get the most recent cursor because of a race condition0456a23Add corrupted node testing capability. Writing to pathsimulate/corrupt/record/herewill now simulate a corrupted recordf6e7a21New browser build📊 Changes
9 files changed (+11453 additions, -11343 deletions)
View changed files
📝
dist/browser.js(+11277 -11261)📝
dist/browser.min.js(+1 -1)📝
src/node-lock.ts(+19 -6)📝
src/storage/binary/index.ts(+80 -67)📝
src/storage/index.ts(+3 -2)➕
src/test/corruption-handling.spec.ts(+57 -0)📝
src/test/node-lock.spec.ts(+2 -2)📝
src/test/tempdb.ts(+3 -0)📝
src/test/transaction-logs.spec.ts(+11 -4)📄 Description
simulate/corrupt/record/herewill now simulate a corrupted record🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.