Aleksandr Polovtcev created IGNITE-14824: --------------------------------------------
Summary: DirectMessageWriter can write partial message header Key: IGNITE-14824 URL: https://issues.apache.org/jira/browse/IGNITE-14824 Project: Ignite Issue Type: Bug Components: networking Affects Versions: 3.0.0-alpha3 Reporter: Aleksandr Polovtcev Assignee: Aleksandr Polovtcev Fix For: 3.0.0-alpha3 {{DirectMessageWriter#writeHeader}} writes the message header as two {{short}} values. This may result in problems, when the outgoing buffer only has less 2 or 3 bytes left, in which case only one {{short}} value will be actually sent. Current code does not handle this situation properly, so it will send the whole header again, despite that the first two bytes have already been transferred to the receiving side. -- This message was sent by Atlassian Jira (v8.3.4#803005)