You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yago Riveiro (JIRA)" <ji...@apache.org> on 2016/02/03 16:08:39 UTC

[jira] [Commented] (SOLR-8635) Shards don't propagate the document update correctly

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

Yago Riveiro commented on SOLR-8635:
------------------------------------

In your solrconfig you have:
{quote}
<luceneMatchVersion>LUCENE_40</luceneMatchVersion> 
{quote}
and should be 
{quote}
<luceneMatchVersion>LUCENE_5.4.1</luceneMatchVersion>{quote}

> Shards don't propagate the document update correctly
> ----------------------------------------------------
>
>                 Key: SOLR-8635
>                 URL: https://issues.apache.org/jira/browse/SOLR-8635
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 5.4.1
>         Environment: - Red Hat Enterprise Linux Server release 5.6 (Tikanga)
> - Oracle jdk1.7.0_79
> - Apache Solr 5.4.1
> - Apache Zookeeper 3.4.6
>            Reporter: Alberto Ferrini
>              Labels: shard, solrcloud, update
>         Attachments: schema.xml, solrconfig.xml, zoo.cfg
>
>
> I created a SolrCloud infrastructure with 2 shards and 1 leader and 2 reaplicas for each shard: Zookeeper is deployed in an external ensemble.
> When I add a new document, or when I delete an existing document, all works correctly.
> But when I update an existent document, the field value is not correctly propagated between the shards, with inconsistency of the index (the query result for that document shows sometimes the new value, sometimes the old value: I see the value because the field is stored).
> Example for the reproduction of the issue:
> - Create document with id "List" and field PATH with value 1 on shard *1*.
> - Query for document (ID:List) -> All OK
> - Create document with id "List" and field PATH with value 2 on shard *2* (document update).
> - Query for document (ID:List) -> Issue: sometimes answers with value 1, sometimes answers with value 2



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org