Skip to content

[#16670] dist-trace: add TraceContextPB and RequestHeader.trace_context - #12

Open
ellabaron-code wants to merge 1 commit into
masterfrom
dist-trace-01-proto
Open

[#16670] dist-trace: add TraceContextPB and RequestHeader.trace_context#12
ellabaron-code wants to merge 1 commit into
masterfrom
dist-trace-01-proto

Conversation

@ellabaron-code

@ellabaron-code ellabaron-code commented Jul 10, 2026

Copy link
Copy Markdown

Define TraceContextPB (W3C trace-context) in common.proto and add the
trace_context field to the RPC RequestHeader. This is the wire type shared by
the RPC-header and shared-memory trace-propagation transports; no code
references it yet.

Upgrade/Downgrade Safety: Additive protobuf-only change. It adds a new message
(TraceContextPB) and a new optional field (RequestHeader.trace_context, field
8); no code reads the field yet, so runtime behavior is unchanged. Older
binaries ignore the unknown field, so mixed-version clusters and rollback are
safe. No special upgrade or downgrade procedure is required.

@ellabaron-code

Copy link
Copy Markdown
Author

Misfiled: reopening against yugabyte/yugabyte-db.

@ellabaron-code ellabaron-code changed the title dist-trace: add TraceContextPB and RequestHeader.trace_context [#16670] dist-trace: add TraceContextPB and RequestHeader.trace_context Jul 11, 2026
Define TraceContextPB (W3C trace-context) and the trace_context field on the
RPC RequestHeader, both in rpc_header.proto. This is the wire type shared by the
RPC-header and shared-memory trace-propagation transports; no code references it
yet.
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