Skip to content

DAOS-14166 cart: Add versioning support to RPC headers - #19277

Open
frostedcmos wants to merge 4 commits into
masterfrom
frostedcmos/rpc-header-refactor-3.0
Open

frostedcmos wants to merge 4 commits into
masterfrom
frostedcmos/rpc-header-refactor-3.0

Conversation

@frostedcmos

Copy link
Copy Markdown
Contributor

Cart RPC header redesign:

  • Added support for versioning
  • Minor version changes/header additions are backwards compatible
  • Separated request from reply headers, sharing same 'envelope' for versioning
  • Deadlines extended to 8 bytes, allowing in future better timeout granularity
  • Destionation rank:tag now occupy single 4-byte storage (24 bits rank, 8 tag), matching how (rank:tag) key is constructed for URI and HG caches
  • Rolled mercury RPCID we register for to disallow pre 3.0 requests
  • header unit-test added

Changes take input/output from being 40B each to 44B for input and 24B for output.

Steps for the author:

  • Commit message follows the guidelines.
  • Appropriate Features or Test-tag pragmas were used.
  • Appropriate Functional Test Stages were run.
  • At least two positive code reviews including at least one code owner from each category referenced in the PR.
  • Testing is complete. If necessary, forced-landing label added and a reason added in a comment.

After all prior steps are complete:

  • Gatekeeper requested (daos-gatekeeper added as a reviewer).

Cart RPC header redesign:
- Added support for versioning
- Minor version changes/header additions are backwards compatible
- Separated request from reply headers, sharing same 'envelope' for versioning
- Deadlines extended to 8 bytes, allowing in future better timeout granularity
- Destionation rank:tag now occupy single 4-byte storage (24 bits rank, 8 tag),
  matching how (rank:tag) key is constructed for URI and HG caches
- Rolled mercury RPCID we register for to disallow pre 3.0 requests
- header unit-test added

Changes take input/output from being 40B each to 44B for input and 24B for output.

Signed-off-by: Alexander A Oganezov <alexander.oganezov@hpe.com>
@frostedcmos
frostedcmos requested review from a team as code owners October 14, 2026 20:01
Signed-off-by: Alexander A Oganezov <alexander.oganezov@hpe.com>
@github-actions

Copy link
Copy Markdown

Ticket title is 'CART: Add versioning support to RPC headers'
Status is 'In Progress'
https://daosio.atlassian.net/browse/DAOS-14166

@daosbuild3

Copy link
Copy Markdown
Collaborator

Signed-off-by: Alexander A Oganezov <alexander.oganezov@hpe.com>
@daosbuild3

Copy link
Copy Markdown
Collaborator

Signed-off-by: Alexander A Oganezov <alexander.oganezov@hpe.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants