Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-1004

Allow bookie garbage collection to be triggered manually from tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.5.0, 4.6.0
    • 4.5.0
    • bookkeeper-server

    Description

      The current gc tests rely on waiting on a timeout for gc to run. It's
      never certain whether it has run or not or if it's still running.

      This patch allows tests to trigger a gc run and gives the client
      a future to know when it has completed. The gc algorithm is unchangedI but now it runs in a scheduled executor rather than as a
      Thread.

      This work was originally done by Ivan Kelly and I am just pushing it back to open source

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gmenon Govind Menon
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified