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

TestReplicationHandler attempts to remove open folders

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.9, 6.0
    • None
    • None

    Description

      TestReplicationHandler has a weird logic around the 'snapDir' variable. It attempts to remove snapshot folders, even though they're not closed yet. My recent patch uncovered the bug but I don't know how to fix it cleanly – the test itself seems to be very fragile (for example I don't understand the 'namedBackup' variable which is always set to true, yet there are conditionals around it).

      Attachments

        1. SOLR-6119.patch
          22 kB
          Varun Thacker
        2. SOLR-6119.patch
          6 kB
          Varun Thacker
        3. SOLR-6119.patch
          5 kB
          Varun Thacker
        4. SOLR-6119.patch
          5 kB
          Dawid Weiss
        5. SOLR-6119.patch
          5 kB
          Varun Thacker
        6. SOLR-6119.patch
          4 kB
          Varun Thacker

        Activity

          People

            dweiss Dawid Weiss
            dweiss Dawid Weiss
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: