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

Try loading a temporary core when saving a file in the admin UI config editing mode

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: 4.7, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      SOLR-5287 adds the ability to shoot yourself in the foot by changing core config files such that the core can't load, leading to having to go out into the filesystem and manually edit the files until you can reload the core. This is clumsy at best.

      Mark Miller suggested creating a temporary core and trying to reload it before saving the "real" changes, which gives us an approach to the problem that seems relatively easy to implement.

        Attachments

        1. SOLR-5459.patch
          4 kB
          Erick Erickson
        2. SOLR-5459.patch
          11 kB
          Erick Erickson

          Issue Links

            Activity

              People

              • Assignee:
                erickerickson Erick Erickson
                Reporter:
                erickerickson Erick Erickson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: