Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-760

Batch Writer implementation doesn't need to synchronize on addMutation(String, Iterator)

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

        1. ACCUMULO-760-1.patch
          1.0 kB
          Christopher Tubbs

          Activity

            People

            • Assignee:
              ctubbsii Christopher Tubbs
              Reporter:
              ctubbsii Christopher Tubbs
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified