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

Sub shard leader should not accept any updates from parent after it goes active

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.3
    • Fix Version/s: 4.4
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      The sub shard leaders accept any update from a parent as long as their range is a subset of parent's range. A sub shard can continue to accept updates from parent even after it has gone active which can lead to inconsistencies. This affects partial updates (think counters) the most but can also lead to out-of-order updates to the same document.

      1. SOLR-4795.patch
        4 kB
        Shalin Shekhar Mangar

        Issue Links

          Activity

          Hide
          steve_rowe Steve Rowe added a comment -

          Bulk close resolved 4.4 issues

          Show
          steve_rowe Steve Rowe added a comment - Bulk close resolved 4.4 issues
          Hide
          commit-tag-bot Commit Tag Bot added a comment -

          [lucene_solr_4_3 commit] shalin
          http://svn.apache.org/viewvc?view=revision&revision=1480895

          SOLR-4795: Sub shard leader should not accept any updates from parent after it goes active

          Show
          commit-tag-bot Commit Tag Bot added a comment - [lucene_solr_4_3 commit] shalin http://svn.apache.org/viewvc?view=revision&revision=1480895 SOLR-4795 : Sub shard leader should not accept any updates from parent after it goes active
          Hide
          shalinmangar Shalin Shekhar Mangar added a comment -

          Committed to branch_4x and trunk.

          Show
          shalinmangar Shalin Shekhar Mangar added a comment - Committed to branch_4x and trunk.
          Hide
          shalinmangar Shalin Shekhar Mangar added a comment -

          Do not allow updates from parent if sub shard is not in "construction" state

          Show
          shalinmangar Shalin Shekhar Mangar added a comment - Do not allow updates from parent if sub shard is not in "construction" state

            People

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              shalinmangar Shalin Shekhar Mangar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development