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

Replication of managed resources on standalone servers

    XMLWordPrintableJSON

    Details

      Description

      I've a single standalone server with a managed schema, synonyms and stopwords. I was planning on configuring as master and slave cores via replication, the master as the indexing source and all slaves replicated from the master as query sources.

      Where I started to run into problems is with the conffiles option on the slave replication setup. Because I'm using a shared configset and managed resources It wasn't clear how to configure this (no schema.xml or synonyms.txt...).

      First I tried with no conffiles, then I tried adding the managed resource generated files in conffiles. But the behaviour I'm seeing in both cases was no replication of the conffiles (managed resources) is taking place? Not on index changes replication, nor manual requests to replicate the slave.

      In this case as the conf files are shared, no actual copying needs to take place however when synonyms are added to the master via the rest api the changes are immediately viewable via the masters synonyms resource. But the slave core(s) needs to reloaded before the same changes appear there.

      So what I wanted was the slave core(s) to be reloaded(?) when config files change. Which the index replication documentation suggests should be happening?

      If a replication involved downloading of at least one configuration file, the ReplicationHandler issues a core-reload command instead of a commit command.

      So this a part bug report and part discussion on how should this work for standalone servers?

      ref: http://lucene.472066.n3.nabble.com/Replication-with-managed-resources-tp4289880.html

        Attachments

        1. Capture.GIF
          26 kB
          Richard osbaldeston

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rosbaldeston Richard osbaldeston
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: