Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for Cassandra 3.x and add Cassandra 5.x #5962

Merged
merged 6 commits into from
Sep 10, 2024

Conversation

mahadzaryab1
Copy link
Contributor

@mahadzaryab1 mahadzaryab1 commented Sep 9, 2024

Which problem is this PR solving?

Description of the changes

How was this change tested?

  • CI

Checklist

@mahadzaryab1 mahadzaryab1 requested a review from a team as a code owner September 9, 2024 22:27
Comment on lines 38 to 40
5)
template=$(dirname $0)/v005.cql.tmpl
;;
Copy link
Contributor Author

@mahadzaryab1 mahadzaryab1 Sep 9, 2024

Choose a reason for hiding this comment

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

Do we want to drop schema creation for v3?

Copy link
Member

Choose a reason for hiding this comment

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

These are not Cassandra versions but our db schema evolutions. Does something need to change for Cassandra v5?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no i just copied the same file to maintain the separation - let me know if you want me to combine it

Copy link
Member

Choose a reason for hiding this comment

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

If the db schema is not changing there's no need to create a new file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

should i just use the v4 file then?

Copy link
Member

Choose a reason for hiding this comment

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

Yes - schema version and Cassandra version are not coupled.

Copy link

codecov bot commented Sep 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.82%. Comparing base (d46a232) to head (422d091).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5962      +/-   ##
==========================================
+ Coverage   96.80%   96.82%   +0.01%     
==========================================
  Files         345      345              
  Lines       16518    16518              
==========================================
+ Hits        15991    15993       +2     
+ Misses        340      339       -1     
+ Partials      187      186       -1     
Flag Coverage Δ
badger_v1 8.03% <ø> (ø)
badger_v2 1.82% <ø> (ø)
cassandra-3.x-v1 ?
cassandra-3.x-v2 ?
cassandra-4.x-v1 16.62% <ø> (ø)
cassandra-4.x-v2 1.75% <ø> (ø)
cassandra-5.x-v1 16.62% <ø> (?)
cassandra-5.x-v2 1.75% <ø> (?)
elasticsearch-6.x-v1 18.79% <ø> (+0.01%) ⬆️
elasticsearch-7.x-v1 18.85% <ø> (+0.01%) ⬆️
elasticsearch-8.x-v1 19.04% <ø> (+0.01%) ⬆️
elasticsearch-8.x-v2 1.81% <ø> (ø)
grpc_v1 9.49% <ø> (ø)
grpc_v2 7.16% <ø> (+0.01%) ⬆️
kafka-v1 9.74% <ø> (ø)
kafka-v2 1.82% <ø> (ø)
memory_v2 1.82% <ø> (ø)
opensearch-1.x-v1 18.89% <ø> (ø)
opensearch-2.x-v1 18.90% <ø> (ø)
opensearch-2.x-v2 1.82% <ø> (+0.01%) ⬆️
tailsampling-processor 0.46% <ø> (ø)
unittests 95.30% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mahadzaryab1 mahadzaryab1 changed the title [chore] Deprecate Cassandra 3.x And Enable Test For 5.x [chore] Deprecate Cassandra 3.x And Enable Support For 5.x Sep 9, 2024
Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

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

So they finally released it. Almost a year late.

@@ -35,6 +35,9 @@ if [[ "$template" == "" ]]; then
4)
template=$(dirname $0)/v004.cql.tmpl
;;
5)
template=$(dirname $0)/v004.cql.tmpl
Copy link
Member

Choose a reason for hiding this comment

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

I can see where the confusion about versions came about - but it's just a coincidence.

@yurishkuro yurishkuro added the changelog:breaking-change Change that is breaking public APIs or established behavior label Sep 10, 2024
@yurishkuro yurishkuro changed the title [chore] Deprecate Cassandra 3.x And Enable Support For 5.x Remove support for Cassandra 3.x and add Cassandra 5.x Sep 10, 2024
@yurishkuro
Copy link
Member

I removed Resolves from description because we also need to update documentation as part of that ticket.

@yurishkuro yurishkuro enabled auto-merge (squash) September 10, 2024 00:57
@yurishkuro yurishkuro merged commit bdeb8e6 into jaegertracing:main Sep 10, 2024
50 of 51 checks passed
@mahadzaryab1 mahadzaryab1 deleted the deprecate-cassandra-3.x branch September 10, 2024 01:21
yurishkuro pushed a commit to jaegertracing/documentation that referenced this pull request Sep 18, 2024
## Which problem is this PR solving?
- Resolves jaegertracing/jaeger#5160

## Description of the changes
- In jaegertracing/jaeger#5962, we removed
support for Cassandra 3.x. This PR updates the documentation to refelct
that.

## How was this change tested?
- CI

## Checklist
- [x] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [x] I have signed all commits
- [x] I have added unit tests for the new functionality
- [x] I have run lint and test steps successfully
  - for `jaeger`: `make lint test`
  - for `jaeger-ui`: `yarn lint` and `yarn test`

---------

Signed-off-by: Mahad Zaryab <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/storage changelog:breaking-change Change that is breaking public APIs or established behavior storage/cassandra
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants