[
https://issues.apache.org/jira/browse/ACCUMULO-760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christopher Tubbs updated ACCUMULO-760:
---------------------------------------
Status: Patch Available (was: In Progress)
> 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