]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
fixup: create in get_hash_info()
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 31 Jan 2024 14:47:11 +0000 (14:47 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 31 Jan 2024 14:47:11 +0000 (14:47 +0000)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/osd/ECCommon.cc

index 2d7acf15d18edeb5a188c1cf7f9a1f05b1568f1c..8752b54b46290eeebead5d21ab4f1fc411b2d4e7 100644 (file)
@@ -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;