Commit graph

1178 commits

Author SHA1 Message Date
github-actions[bot]
cf58fb87fe chore: release v1.29.13 [skip ci] 2026-06-25 16:55:19 +00:00
Ewout Stortenbeker
c0a35ce47c
Merge pull request #277 from appy-one/updates/transaction-logging-improvements
Transaction logging improvements
2026-06-25 18:48:18 +02:00
Ewout Stortenbeker
24e722e418
Merge pull request #276 from anonimusprogramus/patch-1
Update README.md
2026-06-25 10:47:39 +02:00
Ewout Stortenbeker
8add307777 Revert change to add minimum leaf entry size 2026-06-25 10:30:43 +02:00
Ewout Stortenbeker
6f7d1548aa Add type 2026-06-25 10:28:26 +02:00
Ewout Stortenbeker
1e0cda74f3 Rename variable 2026-06-25 10:28:13 +02:00
Ewout Stortenbeker
51069ee9ab Also handle tree rebuild advise here 2026-06-25 10:27:34 +02:00
Ewout Stortenbeker
941d4289f7 Add batched operations back to the front of the operations array upon error 2026-06-25 10:26:42 +02:00
Ewout Stortenbeker
a426e6518b Cleanup: remove unused empty-branch error 2026-06-25 10:06:30 +02:00
Ewout Stortenbeker
7fd0a59201 Cleanup: remove unused _removeLeafWithEmptyParent method 2026-06-25 10:02:58 +02:00
Ewout Stortenbeker
2400ff1913 Prevent possible tree repair issue if leaf is empty 2026-06-25 09:48:09 +02:00
Ewout Stortenbeker
e0f23acc19 Add 24hr stress test for transaction logging if RUN_STRESS_TESTS env var has been set 2026-06-25 09:00:43 +02:00
Ewout Stortenbeker
f9a63d910f Keep empty leafs with a single-entry parent node, advise tree rebuild 2026-06-25 08:59:15 +02:00
Ewout Stortenbeker
f4dbdcc174 Fix tree rebuilding after single-entry node's leaf becomes empty 2026-06-25 08:57:44 +02:00
Ewout Stortenbeker
9bd7d11a60 Fix tree updating after single-entry node's leaf becomes empty 2026-06-22 12:21:08 +02:00
Ewout Stortenbeker
d94d5f875e Fix tree rebuilding after single-entry node's leaf becomes empty 2026-06-22 12:20:20 +02:00
Ewout Stortenbeker
5d09d8967e Binary B+Tree: fix issue with trees rebuilding after a leaf below a single-entry node has become empty 2026-06-17 08:17:54 +02:00
Ewout Stortenbeker
d7b0f2c953 Node reader: improve error being logged if reason is a locking issue, also adds path being read from to log message 2026-06-16 17:15:14 +02:00
Ewout Stortenbeker
dad4d2951d Transaction logging improvements:
* Let `getMutations` process each mutation while iterating instead of piling them up to run at the same time - saving memory and cpu.
* Created `removeMutations` method to clean up old transaction logs found by `getMutations`, prevents scheduling the same transactions for removal multiple times, runs in the background and use batches of 100 not to block other reads/writes for too long.
* `logMutation` now saves serialized values of `context`, `mutations` and `value` for quicker reading and writing, `getMutations` checks if transaction used legacy or serialized storage version
2026-06-16 17:12:46 +02:00
Anonimus Programus
48679fe7b3
Update README.md
Fix missing triple backticks
2026-06-15 19:24:47 +07:00
github-actions[bot]
a5bd690861 chore: release v1.29.12 [skip ci] 2026-06-08 14:13:09 +00:00
Ewout Stortenbeker
c7830c6ebf
Merge pull request #275 from appy-one/fix/linux-mac-socket-ipc
Fix IPC socket on Mac/Linux, improve startup/exit flow
2026-06-08 16:10:07 +02:00
Ewout Stortenbeker
db8639914c new browser build 2026-06-08 13:50:04 +02:00
Ewout Stortenbeker
0ee522e5cc Win32: change named pipe to use a similar name as a unix socket 2026-06-08 13:40:43 +02:00
Ewout Stortenbeker
cc4de5e8bc New browser build 2026-06-08 13:40:43 +02:00
Ewout Stortenbeker
747b91d6ec Enable socket IPC mode for tests 2026-06-08 13:40:43 +02:00
Ewout Stortenbeker
26e6b7fdea Fix IPC socket on Mac/Linux, improve startup/exit flow 2026-06-08 13:40:43 +02:00
Ewout Stortenbeker
28030e8f21 use temp db path from settings 2026-06-08 13:39:57 +02:00
Ewout Stortenbeker
12639cd0f8
Merge pull request #265 from appy-one:quality/organize-code
Split code into multiple files for easier maintenance
2026-05-18 10:33:01 +02:00
Ewout Stortenbeker
8e2a24ee11
Merge branch 'master' into quality/organize-code 2026-05-18 10:17:02 +02:00
github-actions[bot]
cf77386aed chore: release v1.29.11 [skip ci] 2026-05-12 13:30:52 +00:00
Ewout Stortenbeker
cac2877526 Revert acebase-core dependency to local file 2026-05-12 15:27:44 +02:00
github-actions[bot]
cace49eff4 chore: release v1.29.11-rc.2 [skip ci] 2026-05-12 13:17:45 +00:00
Ewout Stortenbeker
5aa91a7a8f Use latest acebase-core 2026-05-12 15:15:24 +02:00
github-actions[bot]
8c1254897d chore: release v1.29.11-rc.1 [skip ci] 2026-05-12 13:06:21 +00:00
Ewout Stortenbeker
5a37f76581 Add npm publish workflow from master branch 2026-05-12 14:58:14 +02:00
Ewout Stortenbeker
a7c16c45e1 new browser build 2026-05-12 14:48:55 +02:00
Ewout Stortenbeker
6a4463d9bf Tests: ignore rmdir ENOENT error 2026-05-12 13:30:21 +02:00
Ewout Stortenbeker
a56dcf8a5e B+Tree tree locking: let timeout throw an exception, so callers can catch and handle instead of waiting indefinitely 2026-05-12 13:13:57 +02:00
Ewout Stortenbeker
0c3ee4e401 Fix reflection with from === 0 or from === '' argument 2026-05-12 13:09:43 +02:00
Ewout Stortenbeker
c6b7b1b7fa Merge node: more robust way to check if record moved 2026-05-12 12:46:36 +02:00
Ewout Stortenbeker
6476e0570d Binary node reader: fix child streams when fromKey === 0 2026-05-12 10:16:03 +02:00
Ewout Stortenbeker
4efc28b40d Binary storage merge node: fix B+Tree reads that start at index equal to originalLength 2026-05-12 10:12:36 +02:00
Ewout Stortenbeker
d5e7ebc59c B+Tree: fix rollback of last leaf rebuilds (they have no next leaf) 2026-05-12 10:08:24 +02:00
Ewout Stortenbeker
aeb2015946 Fix using from option in getChildStream on smaller nodes that don't store props alphabetically 2026-05-08 17:25:34 +02:00
Ewout Stortenbeker
1d0b9aa0ac Speed up getChildCount for nodes with a B+ Tree by manually traversing the leafs, counting all entries 2026-05-08 17:24:08 +02:00
Ewout Stortenbeker
6750246b9a Mark asyncoption in getChildren storage stub method as deprecated 2026-05-08 17:18:41 +02:00
Ewout Stortenbeker
4745107051 add fromKey option to getChildStream to drastically improve performance of reflection on large nodes with B+ Tree 2026-05-08 17:16:47 +02:00
Ewout Stortenbeker
6f9fa02355 remove deprecated async option 2026-05-08 17:03:53 +02:00
Ewout Stortenbeker
6381f69e8f Fix issue that causes a wrong record allocation calculation with existing allocation that has more ranges than maxChunks 2026-05-08 16:42:49 +02:00