Solr
  1. Solr
  2. SOLR-3984

Solr Admin Unload with deleteInstanceDir=true fails unless the path is absolute.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA, 4.0-BETA, 4.0
    • Fix Version/s: 4.1, master
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      Call URL :
      http://localhost:8983/solr/admin/cores?action=UNLOAD&deleteInstanceDir=true&core=mycollection1&qt=/admin/cores

      Check the disk path:
      folder: /apache-solr-4.0.0/example3/solr/mycollection1 still exist, but caller response is success.

      1. SOLR-3984.patch
        4 kB
        Erick Erickson
      2. patch.txt
        1 kB
        Raintung Li

        Activity

        Raintung Li created issue -
        Raintung Li made changes -
        Field Original Value New Value
        Description Call URL :
        http://localhost:8983/solr/admin/cores?action=UNLOAD&deleteInstanceDir=true&core=mycollection1&qt=/admin/cores

        Check the disk path:
        folder: /apache-solr-4.0.0/example3/solr/mycollection1 still exist, but caller response is ok.

        Call URL :
        http://localhost:8983/solr/admin/cores?action=UNLOAD&deleteInstanceDir=true&core=mycollection1&qt=/admin/cores

        Check the disk path:
        folder: /apache-solr-4.0.0/example3/solr/mycollection1 still exist, but caller response is success.

        Raintung Li made changes -
        Attachment patch.txt [ 12550609 ]
        Erick Erickson made changes -
        Assignee Erick Erickson [ erickerickson ]
        Erick Erickson made changes -
        Attachment SOLR-3984.patch [ 12550634 ]
        Erick Erickson made changes -
        Summary Unload the core, don't remove the core data from disk for parameter deleteInstanceDir=true Solr Admin Unload with deleteInstanceDir=true fails unless the path is absolute.
        Fix Version/s 4.1 [ 12321141 ]
        Fix Version/s 5.0 [ 12321664 ]
        Erick Erickson made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Steve Rowe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Erick Erickson
            Reporter:
            Raintung Li
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

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

                Development