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

Refactor DistributedUpdateProcessor's leader logic

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      DUP has an isLeader variable which is true by default and set to false in various process methods (but not in processCommit). Even when isLeader is set, leader logic might not be applied e.g. in case of REPLAY and PEER_SYNC.

      I'll try to refactor DUPF so that leader logic is well defined in all cases (possibly in one place).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: