Project

General

Profile

Actions

Cleanup #2036

closed

rgw: bucket index tree contains the same info 3 times

Added by Yehuda Sadeh about 12 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

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).

Actions #1

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.

Actions #2

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.

Actions #3

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.

Actions

Also available in: Atom PDF