mirror of
https://github.com/ceph/ceph
synced 2024-12-29 06:52:35 +00:00
journal: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
This commit is contained in:
parent
e482d2ea70
commit
a5bdeaefad
@ -231,7 +231,7 @@ void JournalPlayer::process_state(uint64_t object_number, int r) {
|
||||
break;
|
||||
default:
|
||||
lderr(m_cct) << "UNEXPECTED STATE (" << m_state << ")" << dendl;
|
||||
assert(false);
|
||||
ceph_abort();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -714,7 +714,7 @@ void JournalPlayer::schedule_watch(bool immediate) {
|
||||
watch_interval = 0;
|
||||
break;
|
||||
default:
|
||||
assert(false);
|
||||
ceph_abort();
|
||||
}
|
||||
|
||||
ldout(m_cct, 20) << __func__ << ": scheduling watch on "
|
||||
|
Loading…
Reference in New Issue
Block a user