Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
7.1
-
None
Description
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.
Note that, we can avoid this problem if we reload or restart Solr after rebalancing leaders.
Attachments
Attachments
Issue Links
- is related to
-
SOLR-11794 PULL replicas stop replicating after a RELOAD collection action
- Closed
- relates to
-
SOLR-10233 Add support for different replica types in Solr
- Resolved