Replication: abortfetch is broken if replication was started by fetchindex
--------------------------------------------------------------------------

                 Key: SOLR-2791
                 URL: https://issues.apache.org/jira/browse/SOLR-2791
             Project: Solr
          Issue Type: Bug
          Components: Build
    Affects Versions: 4.0
            Reporter: Yury Kats


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. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to