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

Replication: abortfetch is broken if replication was started by fetchindex

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4, 4.0-ALPHA
    • 3.5, 4.0-ALPHA
    • replication (java)
    • 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

        1. SOLR-2791.patch
          0.7 kB
          Yury Kats

        Activity

          People

            shalin Shalin Shekhar Mangar
            ykats Yury Kats
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: