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

ProxyServer.updateAndFlush leaks BatchWriter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1, 1.6.2, 1.7.0
    • 1.5.3, 1.6.3, 1.7.1, 1.8.0
    • proxy
    • None

    Description

      updateAndFlush creates a new BatchWriter, adds the updates, then tries to flush and close the BatchWriter.

      If the flush or addMutations fails (such as the case in SimpleProxyBase ITs where we make sure that constraints fire), this will leak that BatchWriter threads.

      The BatchWriter should be closed in a finally block.

      Attachments

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 40m
                1h 40m