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

Viachaslau Kabak commented on SOLR-11660:
-----------------------------------------

Some notes about how index from application is updated:
1. If we are using 
http://serverName:SOLR_PORT/solr/CollectionName/update?stream.body=<add><doc><field
 name="id">3</field></doc></add>&commit=true
it updates only on followers
2. If we are updating it like 
http://serverName:SOLR_PORT/solr/CollectionName/update?stream.body=<add><doc><field
 name="id">3</field></doc></add>&commitWithin=1000 Index is updated on all solr 
nodes

> Issue while update index in collection after collection restore on Solr Cloud
> -----------------------------------------------------------------------------
>
>                 Key: SOLR-11660
>                 URL: https://issues.apache.org/jira/browse/SOLR-11660
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>    Affects Versions: 6.4.1
>         Environment: CentOs7.3 Solr 6.4.1 Zookeeper 3.4.6
>            Reporter: Viachaslau Kabak
>            Priority: Critical
>
> We use to backup and restore one of our collections in solrCloud.
> if not to restore collection but to create it and fill from application - the 
> second attempt to renew application index is successful both on leader and 
> followers. But is to restore collection and then to renew index from 
> application - we have new index on follower and old index on leader.
> The Reload on collection helps to make index up-to-date on leader.
> In logs we have {{o.a.s.u.p.DistributedUpdateProcessor Ignoring commit while 
> not ACTIVE - state: BUFFERING replay: false}}
> If to restart solr service before collection update from application - index 
> on all solr servers is updated.



--
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