Cleanup #2036
closed
rgw: bucket index tree contains the same info 3 times
Added by Yehuda Sadeh over 12 years ago.
Updated over 6 years ago.
Description
This is apparent by running strings on the index objects. We should be able to reduce the excessive information (which can help with performance there).
the reason it is kept 3 times is that we index it by the bucket name, have the bucket name as one of the fields in the struct, and also the bucket object (which contains the bucket name). The bucket name in the field struct can be dropped, was kept there for backward compatibility reasons but is not longer needed.
- Status changed from New to Resolved
Ok, as of commit:9065dbd36d35b6e44c66293e74b6ba92031ca9ae it's only appears twice. Removing another copy of the object will be trickier, we'll need to create a new encoder that shares data between the key and the value. This may be moot anyway, once we have the new tmap.
- Project changed from Ceph to rgw
- Category deleted (
22)
Bulk reassign of radosgw category to RGW project.
Also available in: Atom
PDF