You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2012/09/09 03:58:07 UTC

[jira] [Updated] (ACCUMULO-760) Batch Writer implementation doesn't need to synchronize on addMutation(String, Iterator)

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

Christopher Tubbs updated ACCUMULO-760:
---------------------------------------

    Attachment: ACCUMULO-760-1.patch

Added [^ACCUMULO-760-1.patch].
                
> Batch Writer implementation doesn't need to synchronize on addMutation(String, Iterator)
> ----------------------------------------------------------------------------------------
>
>                 Key: ACCUMULO-760
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-760
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: client
>            Reporter: Christopher Tubbs
>            Assignee: Christopher Tubbs
>              Labels: batch, lock, synchronized, thread, writer
>             Fix For: 1.5.0
>
>         Attachments: ACCUMULO-760-1.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> org.apache.accumulo.core.client.impl.TabletServerBatchWriter locks when a mutation is added. It does not need to lock when iterating through an Iterator<Mutation> to add them one at a time. This can have add significant performance issues to the other threads servicing the batch writer's bins if the Iterator that is passed in is poorly performing.

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