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

v23.1.x: rpk minor bugs #11926

Merged
merged 3 commits into from
Jul 6, 2023
Merged

Conversation

twmb
Copy link
Contributor

@twmb twmb commented Jul 6, 2023

This is a manual backport of #11900

Fixes a few bugs noticed while working on other things (so, not user reported). The offset-delete bugs are more important and exist in 23.1, so this should be backported. The logdirs panic is hard to hit (only encountered if the RP request fails) but is also worth backporting. The consume bug is just a display printing bug (errors are collapsed into one line).

Release Notes

Bug Fixes

  • rpk group offset-delete no longer tries to delete offsets for all topics if no empty topics are specified
  • rpk group offset-delete no longer tries to delete offsets for empty-name topics
  • rpk cluster logdirs no longer panics if there is an error getting a response from Redpanda

twmb added 3 commits July 6, 2023 12:09
* if listing topics failed, we would panic
* for printing by size, we should print descending similar to other CLI
  tools

(cherry picked from commit 330566e)
* We should only request metadata for empty topics if we actually have
  empty topics. Requesting metadata with no empty topics requests
  metadata for the entire cluster, which results in offset-delete for
  all topics.
* For parsing topic partition args, we need to `make` with 0 length.
  Accidentally using the capacity as length results in issuing metadata
  requests with empty topic names (which cropped up another bug in kadm,
  which will be fixed by a dep bump before the next release)

(cherry picked from commit 726508d)
All errors were squashed into one line, these were meant to be split
across lines

(cherry picked from commit db33de1)
@twmb
Copy link
Contributor Author

twmb commented Jul 6, 2023

These are bug fixes and there are no artifacts, a few core builds passed, two failed due to seemingly flakes -- merging.

@twmb twmb merged commit 083aa05 into redpanda-data:v23.1.x Jul 6, 2023
19 of 21 checks passed
@BenPope BenPope added this to the v23.1.14 milestone Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants