thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen George (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-4419) Rust framed transport cannot handle writes above 4096 bytes
Date Mon, 11 Dec 2017 16:14:00 GMT

    [ https://issues.apache.org/jira/browse/THRIFT-4419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16286106#comment-16286106
] 

Allen George commented on THRIFT-4419:
--------------------------------------

Note: this happens because the rust framed transport has a fixed-size 4096 buffer instead
of a growable buffer.

> Rust framed transport cannot handle writes above 4096 bytes
> -----------------------------------------------------------
>
>                 Key: THRIFT-4419
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4419
>             Project: Thrift
>          Issue Type: Bug
>          Components: Rust - Library
>            Reporter: Allen George
>            Assignee: Allen George
>            Priority: Critical
>
> Related to THRIFT-4390
> Description copied form there:
> While working on improving test coverage and fixing busted cross tests I reworked the
cpp test client to send binary in at size 0, 1, 2, 4, 6, 16, ..., 131072 and after 4096 the
rust server gave up.
> {noformat}
> 12, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128])
> WARN:thrift::server::threaded: processor completed with error: TransportError { kind:
Unknown, message: "failed to write whole buffer" }
> Server process is successfully killed.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message