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] cloud_storage: improved debug on partition manifest parse error #11009

Merged
merged 1 commit into from May 25, 2023

Conversation

jcsp
Copy link
Contributor

@jcsp jcsp commented May 24, 2023

  • Log at WARN, so that we actually get the message on prod systems
  • hexdump the region around the parse error, rather than the first bytes in the manifest.

This is more important than it used to be, now that we have admin API for loading in arbitrary manifests, which can fail.

(cherry picked from commit abbd6ea)

Fixes #10862

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v23.1.x
  • v22.3.x
  • v22.2.x

Release Notes

  • none

@jcsp jcsp added kind/enhance New feature or request area/cloud-storage Shadow indexing subsystem kind/backport PRs targeting a stable branch labels May 24, 2023
- Log at WARN, so that we actually get the message on prod systems
- hexdump the region around the parse error, rather than the
  first bytes in the manifest.

This is more important than it used to be, now that we have
admin API for loading in arbitrary manifests, which can fail.

(cherry picked from commit abbd6ea)
@dotnwat dotnwat merged commit 3cd5258 into redpanda-data:v23.1.x May 25, 2023
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cloud-storage Shadow indexing subsystem area/redpanda kind/backport PRs targeting a stable branch kind/enhance New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants