Skip to content

Conversation

@wkalt
Copy link
Contributor

@wkalt wkalt commented Jan 26, 2026

This backpatches some improvements to bitmap index search to a previous hotfix release branch.

wkalt and others added 2 commits January 26, 2026 12:05
…format#5355)

Prior to this commit an IsIn query on a bitmap index would load
partitions in serial order. On high latency connections, queries with
large IsIn lists can get very slow. This commit changes the partition
loading to be parallelized over the number of CPUs, similar to btree.
lance-format@82df343
parallelizes bitmap loading but it introduced a clone of the bitmap
index. Since this was a clone of the index itself and not just an arc
clone it ended up being a very expensive deep clone, especially at
scale. It also led to unbounded memory usage since all clones needed to
live at the same time and this could cause the search to crash.

Fortunately, these clones are not needed, so we can simply remove them.
@github-actions
Copy link
Contributor

ACTION NEEDED
Lance follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

For details on the error please inspect the "PR Title Check" action.

@wkalt wkalt changed the title Backpatch bitmap search index loading parallelism fix: backpatch bitmap search index loading parallelism Jan 26, 2026
@github-actions github-actions bot added the bug Something isn't working label Jan 26, 2026
@wjones127 wjones127 merged commit 2ecf810 into lance-format:hotfix-a3ed68d Jan 26, 2026
15 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants