-
Notifications
You must be signed in to change notification settings - Fork 41
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
feat: remove deprecated kafka_storage_size #1421
feat: remove deprecated kafka_storage_size #1421
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1421 +/- ##
==========================================
- Coverage 82.76% 82.75% -0.01%
==========================================
Files 154 154
Lines 14196 14190 -6
==========================================
- Hits 11749 11743 -6
Misses 2025 2025
Partials 422 422
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Any relevant SOPs should be updated too |
8f50172
to
9f24915
Compare
@machi1990 - can you confirm that the db migration shouldn't be a breaking change, since we used MaxDataRetentionSize in the presenter anyway? |
No it shouldn't be a breaking change but just for awareness this change might cause temporarily 5xx errors from old pods when a request is done through them to access the kafka requests table. It could be solved by doing a two phased migration but it might not be worth it given the complexity. |
...a/internal/migrations/20221208124000_rename_kafka_storage_size_to_max_data_retention_size.go
Outdated
Show resolved
Hide resolved
b74c2e6
to
1a5da1f
Compare
What's the status of this PR? @valeriiashapoval |
1a5da1f
to
dec2559
Compare
thanks @machi1990 for reminding about this one, just rebased the branch |
72be31c
to
2b86e31
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -1409,10 +1409,6 @@ components: | |||
description: "This field is now deprecated, please use the /api/kafkas_mgmt/v1/instance_types/{cloud_provider}/{cloud_region} endpoint to retrieve the field instead." | |||
reauthentication_enabled: | |||
type: boolean | |||
kafka_storage_size: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would have been good to bump the API version as well over here https://github.com/valeriiashapoval/kas-fleet-manager/blob/2b86e31a2fcea4b28dc7f0bd4e3708f38d3d558b/openapi/kas-fleet-manager.yaml#L5.
@@ -312,10 +308,6 @@ components: | |||
type: string | |||
kafka_ibp_version: | |||
type: string | |||
kafka_storage_size: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could consider bumping the API version https://github.com/valeriiashapoval/kas-fleet-manager/blob/2b86e31a2fcea4b28dc7f0bd4e3708f38d3d558b/openapi/kas-fleet-manager-private-admin.yaml#L5
Description
(https://issues.redhat.com/browse/MGDSTRM-8970)
Checklist (Definition of Done)