[
https://issues.apache.org/jira/browse/THRIFT-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16782786#comment-16782786
]
Christopher Tubbs edited comment on THRIFT-4702 at 3/3/19 5:48 PM:
-------------------------------------------------------------------
Accumulo uses AutoExpandingBufferWriteTransport to initialize TCompactProtocol
in order to reuse that protocol's serialization to serialize/deserialize some
fields consistently between Thrift and another system. We will be affected by
any reduction in visibility of AutoExpandingBufferWriteTransport.
Will TFastFramedTransport work as a suitable alternative to
AutoExpandingBufferReadTransport? Does the transport type even matter for the
serialization done by TCompactProtocol?
was (Author: ctubbsii):
Accumulo uses AutoExpandingBufferWriteTransport to initialize TCompactProtocol
in order to reuse that protocol's serialization to serialize/deserialize some
fields consistently between Thrift and another system.
Will TFastFramedTransport work as a suitable alternative to
AutoExpandingBufferReadTransport? Does the transport type even matter for the
serialization done by TCompactProtocol?
> Improve AutoExpandingBuffer
> ---------------------------
>
> Key: THRIFT-4702
> URL: https://issues.apache.org/jira/browse/THRIFT-4702
> Project: Thrift
> Issue Type: Improvement
> Components: Java - Library
> Affects Versions: 0.12.0
> Reporter: BELUGA BEHR
> Assignee: James E. King III
> Priority: Minor
> Labels: Breaking-Change
> Fix For: 0.13.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The class has a concept of a "growth factor" which is a float value.
> However, the growth value is hard-coded at 150%. Instead, remove this
> configurable value, that isn't externally configurable, and instead use bit
> shifting to achieve a 150% increase instead of a a float value.
> Decrease the scope of this class since it is an internal utility and should
> not be directly consumed by outside code.
> Other miscellaneous cleanup and simplification.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)