Make sure shard is not closed when accessing ReplicationGroup
This commit is contained in:
parent
618ff159eb
commit
fd57101952
|
@ -1733,6 +1733,7 @@ public class IndexShard extends AbstractIndexShardComponent implements IndicesCl
|
||||||
*/
|
*/
|
||||||
public ReplicationGroup getReplicationGroup() {
|
public ReplicationGroup getReplicationGroup() {
|
||||||
verifyPrimary();
|
verifyPrimary();
|
||||||
|
verifyNotClosed();
|
||||||
return getEngine().seqNoService().getReplicationGroup();
|
return getEngine().seqNoService().getReplicationGroup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue