]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: fix init of op_queue_type_t due to returnable ceph_assert() 62809/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 14 Apr 2025 21:19:43 +0000 (21:19 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 14 Apr 2025 21:36:11 +0000 (21:36 +0000)
Fixes: https://tracker.ceph.com/issues/70878
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/osd/OSD.cc

index 2ea6d25f442938defd97819c153ad0fe31df81da..2a819951ae0eb7c0ab03d7dd20ebf512bbcbf76a 100644 (file)
@@ -2444,7 +2444,7 @@ OSD::OSD(CephContext *cct_,
       } else {
         // This should never happen
         dout(0) << "Invalid value passed for 'osd_op_queue': " << type << dendl;
-        ceph_assert(0 == "Unsupported op queue type");
+        ceph_abort_msg("Unsupported op queue type");
       }
     } else {
       static const std::vector<op_queue_type_t> index_lookup = {