You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yuki Yano (JIRA)" <ji...@apache.org> on 2017/11/17 10:49:00 UTC

[jira] [Created] (SOLR-11656) TLOG replication doesn't work properly after rebalancing leaders.

Yuki Yano created SOLR-11656:
--------------------------------

             Summary: TLOG replication doesn't work properly after rebalancing leaders.
                 Key: SOLR-11656
                 URL: https://issues.apache.org/jira/browse/SOLR-11656
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: replication (java)
    Affects Versions: 7.1
            Reporter: Yuki Yano


With TLOG replica type, the replication may stop after invoking rebalance leaders API.
This can be reproduced by following steps:

# Create SolrCloud with TLOG replica type.
# Set perferredleader flag to some of no-leader nodes.
# Invoke rebalance leaders API.
# The replication stops in nodes which were "leader" before rebalancing. 

Because the leader node doesn't have the replication thread, we need to create it when the status is changed from "leader" to "replica".
On the other hand, rebalance leaders API doesn't consider this matter, and the replication may stop if the status is changed from "leader" to "replica" by rebalance leaders.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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