Bug #1567
closedrgw [list|delete]_bucket should clean up
0%
Description
We've discussed how to clean up properly if the bucket index has unfinished ops, and it needs to be implemented:
During listing, if the reader discovers objects with uncommitted operations, it looks at the actual state of the object and reports those results. It then trims any sufficiently old (24 hours?) tag operations out of the index. If there are no remaining tags, it then updates the index to include the actual state of the object. For this purpose, the delete flag is considered an uncommitted operation -- if it is set, the reader must check the state of the object, and remove it from the index if the object no longer exists and there are no in-date tags. (If the object does exist and there are no in-date tags, it must remove the flag.)