]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: lc: check for valid placement target before processing transitions 28256/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Mon, 27 May 2019 13:14:18 +0000 (15:14 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Tue, 11 Jun 2019 11:38:18 +0000 (13:38 +0200)
commit2912bbf591ae1624007b3efabfa1dbfd5a137ca6
tree53662753466731e29783abbdf3c2da6fa9c5ca74
parent19c738e45c11d5cffc14e2eb20df4d9a50d6f0a5
rgw: lc: check for valid placement target before processing transitions

Check that we transition to another placement target only if such a placement
target is valid in the zone. Also log the bucket and rule id in this case to
identify the LCRule causing the issue.

This still doesn't error the API at a put bucket lifecycle call

Fixes: https://tracker.ceph.com/issues/39632
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_lc.cc