[ 
https://issues.apache.org/jira/browse/SOLR-10763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16059312#comment-16059312
 ] 

Bojan Vitnik commented on SOLR-10763:
-------------------------------------

Here is an example of my replication configuration in "solrconfig.xml":

{code:java}
<requestHandler name="/replication" class="solr.ReplicationHandler">
  <lst name="master">
    <str name="replicateAfter">startup</str>
    <str name="replicateAfter">commit</str>
    <str name="replicateAfter">optimize</str>
    <str name="backupAfter">optimize</str>
    <str name="confFiles">solrconfig.xml,...</str>
    <str name="commitReserveDuration">00:00:10</str>
  </lst>
  <lst name="slave">
    <str name="enable">${enable.slave:false}</str>
    <str name="masterUrl">http://${solr.master}:8983/solr/collection1</str>
    <str name="pollInterval">00:00:60</str>
  </lst>
  <int name="maxNumberOfBackups">10</int>
  <lst name="invariants">
    <str name="maxWriteMBPerSec">200</str>
  </lst>
</requestHandler>
{code}

variable "enable.slave" is defined in "core.properties" like:

{code:java}
enable.slave=true
{code}

I'm well aware that this is probably an unsupported configuration (host acting 
as master and slave at the same time) and wrong configuration in many ways. I 
found this configuration while debugging replication problems for one of our 
clients.

On the other hands, code in line 111 of "replication.js" is very much wrong too.

> Admin Console error in solr 6.5
> -------------------------------
>
>                 Key: SOLR-10763
>                 URL: https://issues.apache.org/jira/browse/SOLR-10763
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Admin UI
>    Affects Versions: 6.5.1
>         Environment: CentOS Linux release 7.2.1511 (Core)
>            Reporter: VIbhav Singh Rohilla
>             Fix For: master (7.0)
>
>         Attachments: original UI.png, solr default console.png
>
>
> The default console of solr 6.5.1(on slave) is not able to show details of 
> replication tab.
> But on clicking use "original UI" , the same tab is showing results.
> URL used - http://Solr_Slave_Host:8983/solr/cms/replication
> The inspect element error is - 
> angular.js:11617 TypeError: Cannot set property 'status' of undefined
>     at getIterations (replication.js:114)
>     at replication.js:32
>     at angular-resource.min.js:33
>     at processQueue (angular.js:13193)
>     at angular.js:13209
>     at Scope.$eval (angular.js:14406)
>     at Scope.$digest (angular.js:14222)
>     at Scope.$apply (angular.js:14511)
>     at done (angular.js:9669)
>     at completeRequest (angular.js:9859)
> Please guide.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to