Skip to content

Add useCrt storageProperty to enable AWS CRT transfer support in Medusa#1715

Open
SreedevT wants to merge 1 commit intok8ssandra:mainfrom
SreedevT:feature/medusa-use-crt
Open

Add useCrt storageProperty to enable AWS CRT transfer support in Medusa#1715
SreedevT wants to merge 1 commit intok8ssandra:mainfrom
SreedevT:feature/medusa-use-crt

Conversation

@SreedevT
Copy link
Copy Markdown

@SreedevT SreedevT commented Apr 22, 2026

What this PR does: Adds a useCrt boolean field to the Medusa StorageProperties spec. When set to true, the operator writes use_crt = True into the generated medusa.ini configmap, enabling the AWS Common Runtime (CRT) transfer client for S3 uploads and downloads via s3transfer.crt.CRTTransferManager. This bypasses boto3's instance-type gating and provides higher-throughput transfers on standard EC2 instances.

Only applicable when storageProvider is s3 or s3_rgw. Silently ignored for s3_compatible.

Which issue(s) this PR fixes:
Closes #1716
Related to thelastpickle/cassandra-medusa#954

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CHANGELOG.md updated (not required for documentation PRs)
  • CLA Signed: DataStax CLA

@SreedevT SreedevT requested a review from a team as a code owner April 22, 2026 19:14
@SreedevT
Copy link
Copy Markdown
Author

@burmanm Could you review this PR? It is depended with thelastpickle/cassandra-medusa#954

@SreedevT SreedevT force-pushed the feature/medusa-use-crt branch 2 times, most recently from 37b8e62 to 67b3d67 Compare April 22, 2026 21:27
…port

Adds useCrt boolean to the Storage spec so the k8ssandra-operator can
surface the cassandra-medusa use_crt config option without manual
configmap patching. Regenerates CRD manifests and updates changelog.
@SreedevT SreedevT force-pushed the feature/medusa-use-crt branch from 67b3d67 to dea8211 Compare April 22, 2026 21:29
@sonarqubecloud
Copy link
Copy Markdown

@SreedevT
Copy link
Copy Markdown
Author

A version bump for medusa should also be included with this

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@70cd72f). Learn more about missing BASE report.
⚠️ Report is 71 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1715   +/-   ##
=======================================
  Coverage        ?   50.92%           
=======================================
  Files           ?      125           
  Lines           ?    13330           
  Branches        ?        0           
=======================================
  Hits            ?     6788           
  Misses          ?     5961           
  Partials        ?      581           
Files with missing lines Coverage Δ
pkg/medusa/reconcile.go 57.37% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Add useCrt storageProperty to enable AWS CRT transfer support in Medusa

1 participant