]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: remove chunk_map.clear() becuase new chunk_map
authormyoungwon oh <ohmyoungwon@gmail.com>
Wed, 2 Dec 2020 03:06:57 +0000 (12:06 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Wed, 2 Dec 2020 03:06:57 +0000 (12:06 +0900)
     will be overwritten entirely

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
src/osd/PrimaryLogPG.cc

index 68df64cf5f93a3f94c763804a374c1013bd0f472..7d54a627ec9ae2e511271ca5aa6dccdd1e737847 100644 (file)
@@ -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;