]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: lifecycle: alternate solution to prefix_map conflict
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 19 Feb 2019 18:29:03 +0000 (13:29 -0500)
committerNathan Cutler <ncutler@suse.com>
Fri, 14 Jun 2019 08:44:24 +0000 (10:44 +0200)
commit4eca78b95adc761bbba373e440211b1e19ae5e9f
treef5d73cd556736153ca0437a0b6df3501b91102e1
parent27c50b24e9a2455cb833fb3e0315ff19c284539f
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 b05a9e117c24a91ac1d01e0870c3bcd0da7100f7)
src/rgw/rgw_lc.cc
src/rgw/rgw_lc.h