Skip to content

Commit 849e965

Browse files
Merge pull request ceph#62809 from rzarzynski/wip-bug-70878
osd: fix init of op_queue_type_t due to returnable ceph_assert()
2 parents 121761d + 7f82170 commit 849e965

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)