lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] [Updated] (SOLR-3469) recovery can incorrectly succeed
Date Mon, 21 May 2012 21:31:41 GMT


Yonik Seeley updated SOLR-3469:

    Attachment: SOLR-3469.patch

Here's a draft patch that doesn't quite work yet.  The direction I'm going is to add flags
to the tlog entries when adding buffered entries.  On startup, we look at (and keep track
of) the latest entry.  If the flag is set, then we don't try peersync when we are recovering.
> recovery can incorrectly succeed
> --------------------------------
>                 Key: SOLR-3469
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Yonik Seeley
>         Attachments: SOLR-3469.patch
> Hypothetical scenario:
>  - node comes up and needs to recover
>  - node starts buffering updates and replicating index
>  - node receives and buffers 1000 updates and dies before replication finishes
>  - node comes up, replays tlog
>  - peersync checks last 100 updates, they match, and node goes into "active" state (without
having ever finished the index replication)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message