The B+ tree used by the metadata index has severe performance problems when many entries are added in quick…
The B+ tree used by the metadata index has severe performance problems when many entries are added in quick…: a task in LegoFlow-SWE (Harbor dataset). We need to add a new method batch insert that can insert a batch of key-value entries at once, coalescing the work so that the total I/O overhead…
The task
We need to add a new method `batch_insert` that can insert a batch of key-value entries at once, coalescing the work so that the total I/O overhead is dramatically reduced. The existing `insert` method should keep working correctly, but bulk operations should use the faster `batch_insert` path.
Part of Lego-X/LegoFlow-SWE.