Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46D7CD409 for ; Thu, 6 Sep 2012 21:34:08 +0000 (UTC) Received: (qmail 41808 invoked by uid 500); 6 Sep 2012 21:34:08 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 41745 invoked by uid 500); 6 Sep 2012 21:34:07 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 41732 invoked by uid 99); 6 Sep 2012 21:34:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2012 21:34:07 +0000 Date: Fri, 7 Sep 2012 08:34:07 +1100 (NCT) From: "Michal Gregorczyk (JIRA)" To: issues@hbase.apache.org Message-ID: <474099204.46808.1346967247921.JavaMail.jiratomcat@arcas> In-Reply-To: <910406491.46516.1346963527505.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HBASE-6732) [89-fb] Reduce scope of synchronized block in HBaseClient.Connection#sendParam. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-6732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Gregorczyk updated HBASE-6732: ------------------------------------- Summary: [89-fb] Reduce scope of synchronized block in HBaseClient.Connection#sendParam. (was: Reduce scope of synchronized block in HBaseClient.Connection#sendParam.) > [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 > Reporter: Michal Gregorczyk > Assignee: Michal Gregorczyk > > 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