Skip to content

rgw: bucket index list can produce I/O errors#42404

Merged
harishmunjulur merged 1 commit intoceph:masterfrom
ivancich:wip-broken-list-plain-entries
Aug 2, 2021
Merged

rgw: bucket index list can produce I/O errors#42404
harishmunjulur merged 1 commit intoceph:masterfrom
ivancich:wip-broken-list-plain-entries

Conversation

@ivancich
Copy link
Member

@ivancich ivancich commented Jul 19, 2021

A recent PR that helped address the issue of non-ascii plain entries
didn't cover all the bases, allowing I/O errors to be produced in some
circumstances during a bucket index list (i.e., radosgw-admin bi list ...).

This fixes those issue and does some additional clean-up.

Signed-off-by: J. Eric Ivancich ivancich@redhat.com

Fixes: https://tracker.ceph.com/issues/51429

Copy link
Contributor

@mattbenjamin mattbenjamin left a comment

Choose a reason for hiding this comment

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

lgtm, I think

* list_plain_entries(). It's convenient that "Both" be in between the
* others so we can use "<= Both" or ">= Both" logic.
*/
enum class PlainEntriesRegion {
Copy link
Contributor

Choose a reason for hiding this comment

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

this does seem to help readability

A recent PR that helped address the issue of non-ascii plain entries
didn't cover all the bases, allowing I/O errors to be produced in some
circumstances during a bucket index list (i.e., `radosgw-admin bi list
...`).

This fixes those issue and does some additional clean-up.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
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.

3 participants