Michael Ho created KUDU-2110:
--------------------------------
Summary: RPC footer may be appended more than once
Key: KUDU-2110
URL: https://issues.apache.org/jira/browse/KUDU-2110
Project: Kudu
Issue Type: Bug
Components: rpc
Affects Versions: 1.5.0
Reporter: Michael Ho
Assignee: Michael Ho
Priority: Blocker
The fix for KUDU-2065 included a footer to RPC messages. The footer is appended
during the beginning of the transmission of the outbound transfer for an
outbound call. However, the check for the beginning of transmission for an
outbound call isn't quite correct as it's possible for an outbound transfer to
not send anything in Transfer::SendBuffer().
{noformat}
// Transfer for outbound call must call StartCallTransfer() before
transmission can
// begin to append footer to the payload if the remote supports it.
if (!transfer->TransferStarted() &&
transfer->is_for_outbound_call() &&
!StartCallTransfer(transfer)) {
OutboundQueuePopFront();
continue;
}
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)