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

TestReplicationHandler attempts to remove open folders

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9, 6.0
    • Component/s: None
    • Labels:
      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
          4 kB
          Varun Thacker
        2. SOLR-6119.patch
          5 kB
          Varun Thacker
        3. SOLR-6119.patch
          5 kB
          Dawid Weiss
        4. SOLR-6119.patch
          5 kB
          Varun Thacker
        5. SOLR-6119.patch
          6 kB
          Varun Thacker
        6. SOLR-6119.patch
          22 kB
          Varun Thacker

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: