Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
osd/ReplicatedBackend: do not set omap header if it is empty #12612
In replicatedpg backfill, objects have no omap header or keys previously, but an empty omap header will be inserted when they are pushed to replica, which leads leveldb performance degrade seriously when cluster has huge number of objects.
could you prefix the title of your commit message with the subcomponent your are changing ? see https://github.com/ceph/ceph/blob/master/SubmittingPatches.rst#3-describe-your-changes, in this case, it would be "ReplicatedBackend:".
and you could shorten the title of your commit message to something like:
and put more details in the body of the commit message.
also, you might want to add brackets around your mail address in your commit message like
"git commit -s" will do this for you.