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

Replication: abortfetch is broken if replication was started by fetchindex

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4, 4.0-ALPHA
    • Fix Version/s: 3.5, 4.0-ALPHA
    • Component/s: replication (java)
    • Labels:
      None

      Description

      If I start replication by issuing a "fetchindex" command with a "masterUrl" parameter, it seems to me (by looking at the trunk code) that "abortfetch" command would not do anything.
      It appears to be aborting only when replication is configured with hardcoded master/slave cores.

      The fix appears to be to use tempSnapPuller.abortPull always because tempSnapPuller is always the snap puller doing the actual work.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: