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

rpk: patch group seek #4594

Merged
merged 4 commits into from
Jul 21, 2022
Merged

rpk: patch group seek #4594

merged 4 commits into from
Jul 21, 2022

Conversation

twmb
Copy link
Contributor

@twmb twmb commented May 6, 2022

Cover letter

rpk group seek had a bug that would seek to the start of all topics for a non-existent group. This patches that.

Release notes

  • fixes a bug where rpk group seek would seek to the start of all topics if seeking a non-existent group

@twmb twmb added this to the v22.1.2 milestone May 6, 2022
@twmb twmb requested review from 0x5d, r-vasquez and a team as code owners May 6, 2022 02:05
@twmb twmb removed the area/k8s label May 6, 2022
ajfabbri
ajfabbri previously approved these changes May 6, 2022
Copy link
Contributor

@ajfabbri ajfabbri left a comment

Choose a reason for hiding this comment

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

+1 (assuming clean CI). I'm not much of a go expert yet, but this is pretty straightforward.

@twmb
Copy link
Contributor Author

twmb commented May 6, 2022

This broke some tests, but I'm guessing those tests were coded to incorrect behavior -- will take a look.

@andrewhsu andrewhsu modified the milestones: v22.1.2, v22.1.3 May 9, 2022
@jcsp jcsp modified the milestones: v22.1.3, v22.1.x-next May 11, 2022
@twmb twmb self-assigned this May 20, 2022
twmb added 4 commits July 19, 2022 17:06
For rpk group seek, if we seeked in a group that had no topics, we would
list *all* topics (as is the api for list) and then commit a group to
the beginning of *all* topics.

We now only seek if there are topics to seek, otherwise we print the
standard output that no offset was changed.

We also fix this potential seek problem in rpk group describe, but
realistically all groups have topics assigned.
@twmb
Copy link
Contributor Author

twmb commented Jul 20, 2022

Failures:
#5466
#4772
#5531

@twmb
Copy link
Contributor Author

twmb commented Jul 20, 2022

And again #4772

@r-vasquez r-vasquez merged commit 8919645 into redpanda-data:dev Jul 21, 2022
@twmb twmb deleted the rpk-list-offsets branch July 21, 2022 15:14
@BenPope
Copy link
Member

BenPope commented Dec 23, 2022

Milestone set to v22.1.x-next but never made it to v22.1.x

@BenPope
Copy link
Member

BenPope commented Jan 5, 2023

@twmb did you intend to get this into v22.1.x?

@twmb
Copy link
Contributor Author

twmb commented Jan 5, 2023

It's not critically important to backport, I'd avoid it personally -- it made it into 22.2, and this is only really important to fix something for an end-user error anyway.

joejulian pushed a commit to joejulian/redpanda that referenced this pull request Mar 10, 2023
joejulian pushed a commit to joejulian/redpanda that referenced this pull request Mar 24, 2023
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.

None yet

6 participants