Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
Description
Deprecate
- Replica#getState()
- Replica#isActive()
Use an implementation of ShardStateProvider to fetch the state
/**An implementation that fetches the state of each replica in a collection * and it also provides the leader of shards * */ public interface ShardStateProvider { Replica.State getState(Replica replica); /**get the leader */ Replica getLeader(Slice slice); /** Wait if there is no leader available*/ Replica getLeader(Slice slice, int waitTime); boolean isActive(Replica replica); }
Attachments
Issue Links
- is depended upon by
-
SOLR-14089 Create a ShardStateProvider backed by shard terms
- Resolved
- links to