// We may be instantiated pre-logging so send
std::cerr << "Duplicate config key in schema: '" << i.name << "'"
<< std::endl;
- assert(false);
+ ceph_abort();
}
schema.insert({i.name, i});
}
// This is the compiled-in default that is failing its own option's
// validation, so this is super-invalid and should never make it
// past a pull request: crash out.
- assert(false);
+ ceph_abort();
}
}
if (schema.count(see_also_key) == 0) {
std::cerr << "Non-existent see-also key '" << see_also_key
<< "' on option '" << opt.name << "'" << std::endl;
- assert(false);
+ ceph_abort();
}
}
}
if (schema.count(i.first) == 0) {
std::cerr << "Schema is missing legacy field '" << i.first << "'"
<< std::endl;
- assert(false);
+ ceph_abort();
}
}
}
for (auto& p : lock_names) {
lockdep_dout(0) << " lock " << p.first << " " << p.second << dendl;
}
- assert(false);
+ ceph_abort();
}
if (current_maxid <= (unsigned)id) {
current_maxid = (unsigned)id + 1;