From: myoungwon oh Date: Wed, 2 Dec 2020 03:06:57 +0000 (+0900) Subject: osd: remove chunk_map.clear() becuase new chunk_map X-Git-Tag: v16.1.0~374^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8cc64e5fe08e120a66ea0507dd3b25235e96806b;p=ceph.git osd: remove chunk_map.clear() becuase new chunk_map will be overwritten entirely Signed-off-by: Myoungwon Oh --- diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index 68df64cf5f93..7d54a627ec9a 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;