mirror of
https://github.com/ceph/ceph
synced 2025-02-14 14:28:36 +00:00
msg/async, v2: failure of msg decode doesn't block throtlles.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
This commit is contained in:
parent
69dbc92ba8
commit
7d4bd94008
@ -1328,7 +1328,6 @@ CtPtr ProtocolV2::handle_message() {
|
||||
ltt_recv_stamp = ceph_clock_now();
|
||||
#endif
|
||||
recv_stamp = ceph_clock_now();
|
||||
state = READ_MESSAGE_COMPLETE;
|
||||
|
||||
// yeah, footer is conveying header ;-). Renaming needed. FIXME.
|
||||
auto header_frame = MessageHeaderFrame::Decode(
|
||||
@ -1380,6 +1379,8 @@ CtPtr ProtocolV2::handle_message() {
|
||||
if (!message) {
|
||||
ldout(cct, 1) << __func__ << " decode message failed " << dendl;
|
||||
return _fault();
|
||||
} else {
|
||||
state = READ_MESSAGE_COMPLETE;
|
||||
}
|
||||
|
||||
INTERCEPT(17);
|
||||
|
Loading…
Reference in New Issue
Block a user