[PR #279] [MERGED] Fix deadlock in root node B+Tree handling (issue #278) #208

Closed
opened 2026-10-28 22:01:18 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/appy-one/acebase/pull/279
Author: @appy-one
Created: 10/28/2026
Status: ✅ Merged
Merged: 10/28/2026
Merged by: @appy-one

Base: master ← Head: fix-deadlock-issue-278


📝 Commits (3)

  • ffbda20 Fix deadlock when reading from root node B+Tree (>100 children)
  • 3a3681e Add test for issue 278
  • 1079e09 Fix indexed root node child paths

📊 Changes

3 files changed (+85 additions, -5 deletions)

View changed files

📝 src/data-index/data-index.ts (+1 -1)
📝 src/storage/binary/node-reader.ts (+4 -4)
➕ src/test/issue-278.spec.ts (+80 -0)

📄 Description

Resolve a deadlock that occurs when reading from a root node in a B+Tree with more than 100 children. Add a test to verify the fix and ensure correct child path handling.

Fixes #278


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/appy-one/acebase/pull/279 **Author:** [@appy-one](https://github.com/appy-one) **Created:** 10/28/2026 **Status:** ✅ Merged **Merged:** 10/28/2026 **Merged by:** [@appy-one](https://github.com/appy-one) **Base:** `master` ← **Head:** `fix-deadlock-issue-278` --- ### 📝 Commits (3) - [`ffbda20`](https://github.com/appy-one/acebase/commit/ffbda20c9d12d79a7b9edda102958f4e08820564) Fix deadlock when reading from root node B+Tree (>100 children) - [`3a3681e`](https://github.com/appy-one/acebase/commit/3a3681e3498ba6f6c8b0fcc6c363c8ebf8ad77cc) Add test for issue 278 - [`1079e09`](https://github.com/appy-one/acebase/commit/1079e09d9354292822b9c1089a7d044ddfbe23f2) Fix indexed root node child paths ### 📊 Changes **3 files changed** (+85 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/data-index/data-index.ts` (+1 -1) 📝 `src/storage/binary/node-reader.ts` (+4 -4) ➕ `src/test/issue-278.spec.ts` (+80 -0) </details> ### 📄 Description Resolve a deadlock that occurs when reading from a root node in a B+Tree with more than 100 children. Add a test to verify the fix and ensure correct child path handling. Fixes #278 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-10-28 22:01:18 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github-starred/acebase#208
No description provided.