You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2012/10/01 23:45:08 UTC

[jira] [Resolved] (HBASE-6732) [89-fb] Reduce scope of synchronized block in HBaseClient.Connection#sendParam.

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

stack resolved HBASE-6732.
--------------------------

    Resolution: Won't Fix

Resolving as won't fix in trunk (this is 0.89-fb issue)
                
> [89-fb] Reduce scope of synchronized block in HBaseClient.Connection#sendParam.
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-6732
>                 URL: https://issues.apache.org/jira/browse/HBASE-6732
>             Project: HBase
>          Issue Type: Test
>          Components: Client
>            Reporter: Michal Gregorczyk
>            Assignee: Michal Gregorczyk
>             Fix For: 0.96.0
>
>         Attachments: 0002-jira-HBASE-6732-89-fb-Reduce-scope-of-synchronized-b.patch
>
>
> sendParam method synchronizes on out stream (so that only one thread writes to socket).  Right now it prepares (eg. compress) message under this lock as well. Lock should be taken only for sending.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira