mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 14:26:27 +00:00
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() {
|
||||
verifyPrimary();
|
||||
verifyNotClosed();
|
||||
return getEngine().seqNoService().getReplicationGroup();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user