Skip to content

Support multi-slot broker shared buffers - #1367

Merged
Weidong Cui (wdcui) merged 9 commits into
uliteboxfrom
wdcui/ulitebox/broker-files-multi-slot-transfers
Sep 14, 2026
Merged

Weidong Cui (wdcui) merged 9 commits into
uliteboxfrom
wdcui/ulitebox/broker-files-multi-slot-transfers

Conversation

@wdcui

@wdcui Weidong Cui (wdcui) commented Sep 13, 2026

Copy link
Copy Markdown
Member

This PR adds validated ordered multi-slot shared-buffer sequences across all buffer-bearing broker operations, uses them to support broker-backed file reads and writes up to 512 KiB as one logical operation while preserving existing limits for other operations, increases each association’s shared-buffer pool to 256 slots (16 MiB), and preserves broker-core offset, append, and short-I/O semantics.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
@wdcui
Weidong Cui (wdcui) force-pushed the wdcui/ulitebox/broker-files-multi-slot-transfers branch from 081000b to 5f8eca0 Compare September 14, 2026 16:34
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
@wdcui Weidong Cui (wdcui) changed the title Add multi-slot broker file transfers Support multi-slot broker shared buffers Sep 14, 2026
@wdcui
Weidong Cui (wdcui) added this pull request to the merge queue Sep 14, 2026
Merged via the queue into ulitebox with commit b0e64fe Sep 14, 2026
11 of 12 checks passed
@wdcui
Weidong Cui (wdcui) deleted the wdcui/ulitebox/broker-files-multi-slot-transfers branch September 14, 2026 17:02
@github-actions

Copy link
Copy Markdown

🤖 SemverChecks 🤖 ⚠️ Potential breaking API changes detected ⚠️

Click for details
--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.50.0/src/lints/struct_missing.ron

Failed in:
  struct litebox_broker_protocol::shared_buffer::SharedBufferDescriptor, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/3c316b62778e5fe5f2655e8ee50f174ca751a80a/litebox_broker_protocol/src/shared_buffer.rs:121

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.

1 participant