Cleanup #2036
closedrgw: bucket index tree contains the same info 3 times
0%
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).
Updated by Yehuda Sadeh about 12 years ago
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.
Updated by Yehuda Sadeh about 12 years ago
- 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.
Updated by John Spray over 6 years ago
- Project changed from Ceph to rgw
- Category deleted (
22)
Bulk reassign of radosgw category to RGW project.