Skip to content

immutable payload index storage 1 bis review - #8638

Merged
monoid merged 3 commits into
immutable-payload-index-storage-1-bisfrom
immutable-payload-index-storage-1-bis-review
Apr 9, 2026
Merged

monoid merged 3 commits into
immutable-payload-index-storage-1-bisfrom
immutable-payload-index-storage-1-bis-review

Conversation

@generall

@generall generall commented Apr 9, 2026

Copy link
Copy Markdown
Member
  • use bitwise operations instead of loop
  • [AI] Only propagate bitslice

@generall
generall requested review from monoid and timvisee April 9, 2026 13:11

@timvisee timvisee left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like your simplification 👌

@monoid
monoid merged commit 0f3aa69 into immutable-payload-index-storage-1-bis Apr 9, 2026
9 of 12 checks passed
@monoid
monoid deleted the immutable-payload-index-storage-1-bis-review branch April 9, 2026 14:03
timvisee pushed a commit that referenced this pull request Apr 21, 2026
* use bitwise operations instead of loop

* [AI] Only propagate bitslice

* fmt
timvisee pushed a commit that referenced this pull request Apr 21, 2026
* use bitwise operations instead of loop

* [AI] Only propagate bitslice

* fmt
timvisee pushed a commit that referenced this pull request Apr 23, 2026
* use bitwise operations instead of loop

* [AI] Only propagate bitslice

* fmt
timvisee pushed a commit that referenced this pull request Apr 23, 2026
* use bitwise operations instead of loop

* [AI] Only propagate bitslice

* fmt
agourlay pushed a commit that referenced this pull request Apr 27, 2026
* use bitwise operations instead of loop

* [AI] Only propagate bitslice

* fmt
agourlay added a commit that referenced this pull request Apr 27, 2026
* Immutable storage for mmap numeric index

Do not use a deleted mmap-ed storage, instead, reconstruct a bitmask
from the index and segment-level deleted mask.  It effectively makes
the mmap numeric index immutable, and immutable numeric index too as
it delegates the storage to mmap numeric index.

* Index reload tests

* Make clippy happy

* Restore deletion bitmask to reduce IO on index load

It is more compact than count data we read before to check for cleared
payloads.

* immutable payload index storage 1 bis review (#8638)

* use bitwise operations instead of loop

* [AI] Only propagate bitslice

* fmt

* Fix deleted bitmask length

It must be the same length as `point_to_values` length.

* account for ram usage

* Default missing external deletion bits to live, not deleted.

* clear doc for flush

---------

Co-authored-by: Andrey Vasnetsov <[email protected]>
Co-authored-by: Arnaud Gourlay <[email protected]>
timvisee pushed a commit that referenced this pull request May 8, 2026
* Immutable storage for mmap numeric index

Do not use a deleted mmap-ed storage, instead, reconstruct a bitmask
from the index and segment-level deleted mask.  It effectively makes
the mmap numeric index immutable, and immutable numeric index too as
it delegates the storage to mmap numeric index.

* Index reload tests

* Make clippy happy

* Restore deletion bitmask to reduce IO on index load

It is more compact than count data we read before to check for cleared
payloads.

* immutable payload index storage 1 bis review (#8638)

* use bitwise operations instead of loop

* [AI] Only propagate bitslice

* fmt

* Fix deleted bitmask length

It must be the same length as `point_to_values` length.

* account for ram usage

* Default missing external deletion bits to live, not deleted.

* clear doc for flush

---------

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants