From 8cc64e5fe08e120a66ea0507dd3b25235e96806b Mon Sep 17 00:00:00 2001 From: myoungwon oh Date: Wed, 2 Dec 2020 12:06:57 +0900 Subject: [PATCH] osd: remove chunk_map.clear() becuase new chunk_map will be overwritten entirely Signed-off-by: Myoungwon Oh --- src/osd/PrimaryLogPG.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index 68df64cf5f93a..7d54a627ec9ae 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -10268,9 +10268,6 @@ int PrimaryLogPG::finish_set_dedup(hobject_t oid, int r, ceph_tid_t tid, uint64_ }); } - // clear all regions - ctx->new_obs.oi.manifest.chunk_map.clear(); - // set new references ctx->new_obs.oi.manifest.chunk_map = mop->new_manifest.chunk_map; -- 2.39.5