Solr
  1. Solr
  2. SOLR-3751

Add defensive checks against errant updates to distrib update processor.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      The distrib update processor should do sanity checks on incoming updates - you never know what greedy routers might hang to some packets for while before letting them go.

      We can quickly and easily check a couple things.

      If the update is from a Leader we can check that we don't currently think we are the leader (using a local isLeader state).

      If the update is from a Leader we can check that that leader matches what is in our current ClusterState.

        Activity

        Hide
        Mark Miller added a comment -

        When doing a replicate from a leader, we can also check that the leader locally thinks he is the leader.

        Show
        Mark Miller added a comment - When doing a replicate from a leader, we can also check that the leader locally thinks he is the leader.
        Hide
        Uwe Schindler added a comment -

        Closed after release.

        Show
        Uwe Schindler added a comment - Closed after release.

          People

          • Assignee:
            Mark Miller
            Reporter:
            Mark Miller
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development