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

nautilus: rgw: fix prefix handling in LCFilter #28550

Merged
merged 3 commits into from Jul 30, 2019

Conversation

@smithfarm
Copy link
Contributor

commented Jun 14, 2019

rgw: lifecycle: alternate solution to prefix_map conflict
A rule containing a tag filter but no constraining prefix is
legal, as is a sequence of >1 such rules.

As currently designed, enforcement requires rules to be
installed in prefix_map as well as rule_map, though only the
latter is encoded.

Fixes: http://tracker.ceph.com/issues/37879

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit b05a9e1)
rgw: lifecycle: fix RGWLifecycleConfiguration::valid()
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit c8ae682)
rgw: lifecycle: fix object iteration for >1 same-prefix rules
Rules of like-prefix must visit every matching object.  A next
logical step is to combine tag checking for rules of like-prefix.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 8f10b26)

@smithfarm smithfarm self-assigned this Jun 14, 2019

@smithfarm smithfarm added this to the nautilus milestone Jun 14, 2019

@neha-ojha neha-ojha added rgw and removed core labels Jun 17, 2019

@smithfarm

This comment has been minimized.

Copy link
Contributor Author

commented Jul 24, 2019

jenkins test make check

@yuriw

This comment has been minimized.

Copy link
Contributor

commented Jul 25, 2019

@yuriw yuriw merged commit 53209a9 into ceph:nautilus Jul 30, 2019

4 checks passed

Docs: build check OK - docs built
Details
Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
make check make check succeeded
Details

@smithfarm smithfarm deleted the smithfarm:wip-40007-nautilus branch Aug 21, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.