hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-7069) HTable.batch does not have to synchronized
Date Tue, 30 Oct 2012 05:14:12 GMT

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

Lars Hofhansl updated HBASE-7069:
---------------------------------

    Attachment: 7069.txt

Trivial patch.

I looked through the code in HConnectionImplementation.processBatch, this really does not
need to be synchronized here.

                
> HTable.batch does not have to synchronized
> ------------------------------------------
>
>                 Key: HBASE-7069
>                 URL: https://issues.apache.org/jira/browse/HBASE-7069
>             Project: HBase
>          Issue Type: Bug
>          Components: Performance
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>            Priority: Critical
>             Fix For: 0.94.3
>
>         Attachments: 7069.txt
>
>
> This was raised on the mailing list by Yousuf.
> HTable.batch(...) is synchronized and there appears to be no reason for it.
> (flushCommits makes the same call to connection.processBatch and it also is not synchronized)
> This is pretty bad actually marking critical.
> 0.96 is fine BTW.

--
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

Mime
View raw message