From: Radoslaw Zarzynski Date: Wed, 31 Jan 2024 14:47:11 +0000 (+0000) Subject: fixup: create in get_hash_info() X-Git-Tag: v19.3.0~13^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f9202a9afbb7346689dc380b14146f34c396bd5f;p=ceph.git fixup: create in get_hash_info() Signed-off-by: Radoslaw Zarzynski --- diff --git a/src/osd/ECCommon.cc b/src/osd/ECCommon.cc index 2d7acf15d18..8752b54b462 100644 --- a/src/osd/ECCommon.cc +++ b/src/osd/ECCommon.cc @@ -998,6 +998,8 @@ ECUtil::HashInfoRef ECCommon::UnstableHashInfoRegistry::get_hash_info( dout(0) << __func__ << ": Mismatch of total_chunk_size " << hinfo.get_total_chunk_size() << dendl; return ECUtil::HashInfoRef(); + } else { + create = true; } } else if (size == 0) { // If empty object and no hinfo, create it create = true;