Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3168

"numberToKeep" backups doesn't ever keep more than 1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.5, 4.0-ALPHA
    • 3.6, 4.0-ALPHA
    • replication (java)
    • None

    Description

      On SOLR-2578, Neil Hooey pointed out a silly mistake in SnapShooter.java in that I forgot to increment a counter variable in the case the user wants to keep more than 1 backup.

      I will attach a patch for this 1-line fix. I do not intend to amend the unit test as this fix is easy to understand. Also, the test case is already very complex and long-running.

      I will commit shortly.

      Attachments

        1. SOLR-3168.patch
          0.5 kB
          James Dyer

        Activity

          People

            jdyer James Dyer
            jdyer James Dyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: