[ 
https://issues.apache.org/jira/browse/SOLR-6465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shalin Shekhar Mangar updated SOLR-6465:
----------------------------------------
    Attachment: SOLR-6465.patch

Changes:

# Refactored bootstrap status runnable to an inner class called 
BootstrapStatusRunnable
# BootstrapStatusRunnable is closed when either CDCR is disabled via API or 
when the current core is no longer the leadder. It will cancel waiting for 
bootstrap if cdcr is stopped or if the current core is no longer the leader.
# Removed the unused BootstrapService from CdcrRequestHandler
# Added a CANCEL_BOOTSTRAP action in CdcrRequestHandler which will make a best 
effort to cancel a running bootstrap operation.
# If CDCR is disabled on the source cluster of if the leader loses leadership 
then a cancel bootstrap message is sent to the target cluster.

bq. why the double lock in...

This has been removed to only use tryLock.

> CDCR: fall back to whole-index replication when tlogs are insufficient
> ----------------------------------------------------------------------
>
>                 Key: SOLR-6465
>                 URL: https://issues.apache.org/jira/browse/SOLR-6465
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Yonik Seeley
>         Attachments: SOLR-6465.patch, SOLR-6465.patch
>
>
> When the peer-shard doesn't have transaction logs to forward all the needed 
> updates to bring a peer up to date, we need to fall back to normal 
> replication.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to