Package | Description |
---|---|
org.apache.solr.cloud |
Classes for dealing with ZooKeeper when operating in SolrCloud mode.
|
org.apache.solr.common.cloud |
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
|
org.apache.solr.update |
APIs and classes for managing index updates
|
Modifier and Type | Field and Description |
---|---|
protected ZkCoreNodeProps |
LeaderInitiatedRecoveryThread.nodeProps |
Modifier and Type | Method and Description |
---|---|
ZkCoreNodeProps |
ZkController.getLeaderProps(String collection,
String slice,
int timeoutms)
Get leader props directly from zk nodes.
|
ZkCoreNodeProps |
ZkController.getLeaderProps(String collection,
String slice,
int timeoutms,
boolean failImmediatelyOnExpiration)
Get leader props directly from zk nodes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ZkController.ensureReplicaInLeaderInitiatedRecovery(String collection,
String shardId,
ZkCoreNodeProps replicaCoreProps,
String leaderCoreNodeName,
boolean forcePublishState,
boolean retryOnConnLoss)
When a leader receives a communication error when trying to send a request to a replica,
it calls this method to ensure the replica enters recovery when connectivity is restored.
|
Constructor and Description |
---|
LeaderInitiatedRecoveryThread(ZkController zkController,
CoreContainer cc,
String collection,
String shardId,
ZkCoreNodeProps nodeProps,
int maxTries,
String leaderCoreNodeName) |
Modifier and Type | Method and Description |
---|---|
List<ZkCoreNodeProps> |
ZkStateReader.getReplicaProps(String collection,
String shardId,
String thisCoreNodeName) |
List<ZkCoreNodeProps> |
ZkStateReader.getReplicaProps(String collection,
String shardId,
String thisCoreNodeName,
Replica.State mustMatchStateFilter) |
List<ZkCoreNodeProps> |
ZkStateReader.getReplicaProps(String collection,
String shardId,
String thisCoreNodeName,
Replica.State mustMatchStateFilter,
Replica.State mustNotMatchStateFilter) |
Modifier and Type | Field and Description |
---|---|
protected ZkCoreNodeProps |
SolrCmdDistributor.StdNode.nodeProps |
Modifier and Type | Method and Description |
---|---|
abstract ZkCoreNodeProps |
SolrCmdDistributor.Node.getNodeProps() |
ZkCoreNodeProps |
SolrCmdDistributor.StdNode.getNodeProps() |
Constructor and Description |
---|
RetryNode(ZkCoreNodeProps nodeProps,
ZkStateReader zkStateReader,
String collection,
String shardId) |
StdNode(ZkCoreNodeProps nodeProps) |
StdNode(ZkCoreNodeProps nodeProps,
String collection,
String shardId) |
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.