Skip to content

[CL-129] partial payloads: tcache range acquire and sub-reservations - #244

Open
vladimir-ea wants to merge 3 commits into
mainfrom
ve/tcache_ranges
Open

vladimir-ea wants to merge 3 commits into
mainfrom
ve/tcache_ranges

Conversation

@vladimir-ea

@vladimir-ea vladimir-ea commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

tcache changes for partial payloads

correctness changes:

  • Producer tracks min_allocation so uncommitted reservations block ring reuse.
  • MultiProducer serialises allocation behind a claim, initialising slot headers before the head advances. (code moved from producer.rs to sub-mdule)

new features:

  • Consumers gain pinned sub-ranges, fixed retention boundaries, per-part sub-reservations with claim/validate/accept states, and gossip frame descriptors over pinned segments.

sub-ranges will be used to serve individual cell data from a sidecar buffer
sub-reservations will be used to write individual cells into a whole sidecar buffer reservation
fixed retention boundary means the producer fixes the consumer's 'tail guard' by emitting retention events - the consumer doesn't rollup their tail past this guard until the producer releases it, then the tail can roll normally upto the new guard. this will be used with a new data columns tcache which will have per-slot retention.

@vladimir-ea
vladimir-ea added this pull request to stack #246 September 11, 2026 14:59
vladimir-ea and others added 3 commits September 11, 2026 19:25
Producer tracks min_allocation so uncommitted reservations block
ring reuse. MultiProducer serialises allocation behind a claim,
initialising slot headers before the head advances. Consumers gain
pinned sub-slot ranges, fixed retention boundaries, per-part
sub-reservations with claim/validate/accept states, and gossip
frame descriptors over pinned segments. Gossip decompression
computes the message id before the offset commits the reservation.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
}

#[derive(Clone, Copy, Debug)]
pub enum GossipSegment {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

this doesn't have to be Gossip* specific, does it?

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.

2 participants