[ 
https://issues.apache.org/jira/browse/HBASE-28175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Beaudreault resolved HBASE-28175.
---------------------------------------
    Fix Version/s: 2.6.0
                   3.0.0-beta-1
                   2.5.7
       Resolution: Fixed

> RpcLogDetails' Message can become corrupt before log is consumed
> ----------------------------------------------------------------
>
>                 Key: HBASE-28175
>                 URL: https://issues.apache.org/jira/browse/HBASE-28175
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ray Mattingly
>            Assignee: Ray Mattingly
>            Priority: Major
>             Fix For: 2.6.0, 3.0.0-beta-1, 2.5.7
>
>
> The RpcLogDetails class represents a slow (or large) log event which will 
> later be consumed by the SlowLogQueueService.
> Right now the RpcLogDetails' param field points to the slow call's Message, 
> and this Message is backed by a CodedInputStream which may be overwritten 
> before the given log is consumed. This overwriting of the Message may result 
> in slow query payloads for which the metadata derived post-consumption is 
> inaccurate.
> To solve this bug I think we need to copy the Message in the RpcLogDetails 
> constructor. I have this bug reproduced in a QA environment and will test out 
> this idea and open a PR shortly if the test results are promising.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to