[ 
https://issues.apache.org/jira/browse/SOLR-8635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alberto Ferrini updated SOLR-8635:
----------------------------------
    Description: 
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 whitd id "List" and field PATH with value 1 on shard 1.
- Query for document (ID:List) -> All OK
- Create document whitd 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

  was:
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).


> 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 whitd id "List" and field PATH with value 1 on shard 1.
> - Query for document (ID:List) -> All OK
> - Create document whitd 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to