UNPKG

amalgamate

Version:

Merge staging Strata b-trees containing MVCC versioned records into a primary Strata b-tree.

29 lines (28 loc) 627 B
{ "0": { "children": [ 1, 5, 3 ] }, "1": { "log": [ { "type": "pos" }, { "type": "add", "value": { "value": "a", "version": 0 } }, { "type": "pos" } ], "right": 5 }, "3": { "log": [ { "type": "pos" }, { "type": "add", "value": { "value": "c", "version": 0 } }, { "type": "pos" } ] }, "5": { "log": [ { "type": "pos" }, { "type": "add", "value": { "value": "b", "version": 0 } }, { "type": "pos" } ], "right": 3 } }