Skip to content

feat(cassandra): implement V2 storage interfaces and V1 hooks#8338

Open
sakshar2303 wants to merge 4 commits intojaegertracing:mainfrom
sakshar2303:feat/cassandra-v2-storage
Open

feat(cassandra): implement V2 storage interfaces and V1 hooks#8338
sakshar2303 wants to merge 4 commits intojaegertracing:mainfrom
sakshar2303:feat/cassandra-v2-storage

Conversation

@sakshar2303
Copy link
Copy Markdown

This PR implements the actual storage logic for the Cassandra V2 backend.

V1 Hooks: Added a WriteDBSpan hook to the V1 SpanWriter and a ReadTraceDB hook to the CoreSpanReader. This allows direct database access without the model.Trace middle layer.
V2 TraceWriter: Implemented a new TraceWriter in the V2 package that routes OTLP traces directly to the new WriteDBSpan hook.
V2 TraceReader: Updated the V2 reader to use the native ReadTraceDB hook, enabling direct reconstruction of OTLP traces from the expanded schema.
Regressions Fixed: Aligned V1 indexing logic (service/operation indexing for Firehose spans) to ensure full backward compatibility with the existing V1 testing suite.

Copilot AI review requested due to automatic review settings April 10, 2026 05:47
@sakshar2303 sakshar2303 requested a review from a team as a code owner April 10, 2026 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant