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

Shards don't propagate the document update correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.4.1
    • None
    • SolrCloud
      • Red Hat Enterprise Linux Server release 5.6 (Tikanga)
      • Oracle jdk1.7.0_79
      • Apache Solr 5.4.1
      • Apache Zookeeper 3.4.6

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

      Attachments

        1. access_log.txt
          2 kB
          Alberto Ferrini
        2. cloudConfiguration.png
          8 kB
          Alberto Ferrini
        3. schema.xml
          1 kB
          Alberto Ferrini
        4. solrconfig.xml
          6 kB
          Alberto Ferrini
        5. zoo.cfg
          1 kB
          Alberto Ferrini

        Activity

          People

            Unassigned Unassigned
            alberto.ferrini.mail@gmail.com Alberto Ferrini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: