[ 
https://issues.apache.org/jira/browse/SOLR-15286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17418712#comment-17418712
 ] 

ASF subversion and git services commented on SOLR-15286:
--------------------------------------------------------

Commit 3cd71244d23704a7addf34eeac9f728862518f48 in solr's branch 
refs/heads/main from Pushkar Raste
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=3cd7124 ]

SOLR-15286: A brand new follower in the legacy mode should wait to replicate 
index before reporting healthy (#238)

* https://issues.apache.org/jira/browse/SOLR-15286

Added log to the HealthCheckHandler for legacy mode to report followers healthy 
based on the index generation diff

Co-authored-by: Pushkar Raste <pra...@apple.com>

> A brand new replica in the legacy setup reports healthy before replicating 
> index from its leader
> ------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-15286
>                 URL: https://issues.apache.org/jira/browse/SOLR-15286
>             Project: Solr
>          Issue Type: Bug
>          Components: replication (java)
>    Affects Versions: 8.8.1
>            Reporter: Pushkar Raste
>            Assignee: Anshum Gupta
>            Priority: Major
>         Attachments: SOLR-15286.patch
>
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> In the legacy mode when you add a brand new replica it immediately starts 
> reporting healthy even if it hasn't fully replicated index from its leader. 
> This issue is also exhibited when you shut down a replica and start it after 
> a lot of data is indexed on the leader.
> If the replica reports healthy LB would continue to forward incoming requests 
> to it and this would result in inconsistent data being retuned to the caller. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to