Skip to content

Immutable storage bool index - #8625

Merged
timvisee merged 8 commits into
devfrom
immutable-payload-index-storage-2-bool
Apr 23, 2026
Merged

timvisee merged 8 commits into
devfrom
immutable-payload-index-storage-2-bool

Conversation

@monoid

@monoid monoid commented Apr 8, 2026 •

Copy link
Copy Markdown
Contributor

Add ImmutableBoolIndex type that uses immutable storage and segment's deleted bitmask.

It would reduce IO on serverless Qdrant instances.

All Submissions:

  • Contributions should target the dev branch. Did you create your branch from dev?
  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

  1. Does your submission pass tests?
  2. Have you formatted your code locally using cargo +nightly fmt --all command prior to submission?
  3. Have you checked your code using cargo clippy --workspace --all-features command?

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully ran tests with your changes locally?

@monoid monoid self-assigned this Apr 8, 2026
@monoid
monoid force-pushed the immutable-payload-index-storage-2-bool branch from 3341bf5 to 380cd39 Compare April 8, 2026 09:08
coderabbitai[bot]

This comment was marked as resolved.

@monoid
monoid force-pushed the immutable-payload-index-storage-2-bool branch from 3393678 to 5f13211 Compare April 8, 2026 09:28
coderabbitai[bot]

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as resolved.

@monoid
monoid force-pushed the immutable-payload-index-storage-2-bool branch 2 times, most recently from 8a5e3a8 to e3e0e04 Compare April 8, 2026 09:55
coderabbitai[bot]

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as resolved.

@coszio

coszio commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Could you please add the motivation for this PR in the description?

@monoid

monoid commented Apr 9, 2026

Copy link
Copy Markdown
Contributor Author

Could you please add the motivation for this PR in the description?

Sure!

@monoid monoid changed the title Immutable storage bool index [DO NOT MERGE] Immutable storage bool index Apr 10, 2026
@timvisee timvisee added the do not merge Pull requests blocked on an external event label Apr 10, 2026
@timvisee timvisee assigned timvisee and unassigned monoid Apr 22, 2026
@timvisee timvisee changed the title [DO NOT MERGE] Immutable storage bool index Immutable storage bool index Apr 22, 2026
Ivan Boldyrev added 4 commits April 22, 2026 15:46
A wrapper around `MutableBoolIndex` that only supports deletion and
recreates in-memory index state from disk data and deletion mask.
Ivan Boldyrev added 2 commits April 22, 2026 15:46
It shouldn't be defined for immutable indexes.
@timvisee
timvisee force-pushed the immutable-payload-index-storage-2-bool branch from 4b0ba85 to 5bf8ede Compare April 22, 2026 13:46
coderabbitai[bot]

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as resolved.

@timvisee timvisee mentioned this pull request Apr 22, 2026
12 tasks done
coderabbitai[bot]

This comment was marked as resolved.

@qdrant qdrant deleted a comment from coderabbitai Bot Apr 22, 2026
@timvisee
timvisee merged commit dd8c99b into dev Apr 23, 2026
15 checks passed
@timvisee
timvisee deleted the immutable-payload-index-storage-2-bool branch April 23, 2026 11:35
@timvisee timvisee removed the do not merge Pull requests blocked on an external event label Apr 23, 2026
@agourlay agourlay added this to the Immutable payload index milestone Apr 28, 2026
timvisee added a commit that referenced this pull request May 8, 2026
* ImmutableBoolIndex

A wrapper around `MutableBoolIndex` that only supports deletion and
recreates in-memory index state from disk data and deletion mask.

* Tests both mutable and immutable bool indexes

Where appropriate.

* edge fix

* Review fixes

* Fix clippy

* Remove impl ValueIndexer for ImmutableBoolIndex

It shouldn't be defined for immutable indexes.

* Fix merge conflict, reintroduce delegate

* [ai] Get rid of delegate

---------

Co-authored-by: timvisee <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants