]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix lc process only schdule the first item of lc objects 17859/head
authorlu.shasha <lu.shasha@eisoo.com>
Thu, 17 Aug 2017 08:02:02 +0000 (16:02 +0800)
committerNathan Cutler <ncutler@suse.com>
Thu, 21 Sep 2017 03:54:45 +0000 (05:54 +0200)
commitfd207447d1acebbf7a62c0d03b3ec9025ac19fbd
tree9f1e96c47ba66f251787534633c1f3524058a4a8
parent1befcbebcbcedf398b782adfcc165038d13fc3da
rgw: fix lc process only schdule the first item of lc objects

If more than two bucket hash to the same lc object, only the first bucket will do lifecycle operation. Other buckets lifecycle will never be schduled.

Fixes: http://tracker.ceph.com/issues/21022
Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
(cherry picked from commit 9561dc0a903d9021f64857762e73887ffe46c28e)
src/rgw/rgw_lc.cc