Skip to content

Commit 7f82170

Browse files
committed
osd: fix init of op_queue_type_t due to returnable ceph_assert()
Fixes: https://tracker.ceph.com/issues/70878 Signed-off-by: Radoslaw Zarzynski <[email protected]>
1 parent 5a4f6c9 commit 7f82170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/osd/OSD.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2444,7 +2444,7 @@ OSD::OSD(CephContext *cct_,
24442444
} else {
24452445
// This should never happen
24462446
dout(0) << "Invalid value passed for 'osd_op_queue': " << type << dendl;
2447-
ceph_assert(0 == "Unsupported op queue type");
2447+
ceph_abort_msg("Unsupported op queue type");
24482448
}
24492449
} else {
24502450
static const std::vector<op_queue_type_t> index_lookup = {

0 commit comments

Comments
 (0)