accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-760) Batch Writer implementation doesn't need to synchronize on addMutation(String, Iterator)
Date Sun, 09 Sep 2012 01:58:07 GMT

     [ 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

Mime
View raw message