Skip to content

add FastCDC chunking function to RPCs#11299

Merged
tyler-french merged 1 commit intomasterfrom
tfrench/chunking-function
Feb 11, 2026
Merged

add FastCDC chunking function to RPCs#11299
tyler-french merged 1 commit intomasterfrom
tfrench/chunking-function

Conversation

@tyler-french
Copy link
Contributor

@tyler-french tyler-french commented Feb 10, 2026

Split accepts Unknown and FastCDC, always returns FastCDC. Splice accepts Unknown and FastCDC. No need to overcomplicate and add more chunking functions we don't accept yet. In the future, we can store the unknown and fastcdc separately. For now, a new call to Splice will always overwrite for a given blob digest, similar to the AC.

@tyler-french tyler-french changed the title add chunking function to RPCs add chunking functions to RPCs Feb 10, 2026
@tyler-french tyler-french changed the title add chunking functions to RPCs add FastCDC chunking function to RPCs Feb 10, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR standardizes chunking function handling for the SplitBlob / SpliceBlob CAS RPCs and advertises FastCDC parameters via server capabilities, aligning server behavior around FastCDC_2020 as the supported algorithm.

Changes:

  • Validate chunking_function in SplitBlob (accept UNKNOWN and FAST_CDC_2020) and SpliceBlob (currently only FAST_CDC_2020).
  • Populate chunking_function in SplitBlobResponse and SpliceBlobRequest generated from chunking manifests (always FAST_CDC_2020).
  • Advertise FastCdc_2020Params in cache capabilities when chunking is enabled.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
server/remote_cache/content_addressable_storage_server/content_addressable_storage_server.go Adds request validation for chunking function in SplitBlob / SpliceBlob RPC handlers.
server/remote_cache/chunking/chunking.go Adds FAST_CDC_2020 chunking function fields to generated RPC request/response protos.
server/remote_cache/capabilities_server/capabilities_server.go Advertises FastCDC_2020 parameters when chunking is enabled.
server/remote_cache/capabilities_server/BUILD Adds chunking package dependency for capabilities server.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tyler-french tyler-french force-pushed the tfrench/chunking-function branch 2 times, most recently from 8703a71 to 0c14107 Compare February 10, 2026 22:53
@tyler-french tyler-french force-pushed the tfrench/chunking-function branch from 0c14107 to 5fa5ce1 Compare February 10, 2026 23:15
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tyler-french tyler-french force-pushed the tfrench/chunking-function branch from 5d8a139 to 503fa23 Compare February 11, 2026 21:36
@tyler-french tyler-french merged commit af91403 into master Feb 11, 2026
11 checks passed
@tyler-french tyler-french deleted the tfrench/chunking-function branch February 11, 2026 22:09
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.

4 participants