Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ReplicatedBackend: do not set omap header if it is empty
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. so my opinion is that we does't insert omap header if is size is zero when handle PushOp in recovery. Signed-off-by: fang yuxiang <fang.yuxiang@eisoo.com>
- Loading branch information