Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-3697

Upgrade Bamboo to Bonnie 3.2

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 2.3
    • Infrastructure
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      We've made a few changes which cause small breakages in Bamboo. Attached is a patch with the required changes:

      • ILuceneConnection.SearcherAction.perform() is now void, rather than returning a boolean
      • ILuceneConnection.leakSearcher() is deprecated and should not be used.

      Some additional changes that Chris and I strongly recommend if you want to improve your Bonnie integration:

      • remove Bamboo's LuceneConnectionImpl and LuceneConnection classes – they are redundant now because the index is automatically created, and you should use withSearcher() rather than leakSearcher() and closeQuietly().
      • rather than extending ConcurrentLuceneConnection, just create a new instance using the constructor
      • don't use HighestBuildNumberCollector but instead use Lucene's sort to find out the highest build number. Lucene's sort uses a field cache instead of reading the build number from the index every time (and you can throw away that extra class)
      • add a SearcherInitialisation to warm up the index searcher for the sort.

      We're happy to help you get this integrated; we'd like to keep both products on recent versions of the library.

      Attachments

        Activity

          People

            Unassigned Unassigned
            matt@atlassian.com Matt Ryall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: