You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closed indices have closed stores and thus access to IndexWriter fails with AlreadyClosedException while fetching ReplicationCheckpoint. One alternative here is read the replication checkpoint using DirectoryReader passing in the shard path.
Use case
Cluster manager fetches shard state of replicas via TransportNodesListGatewayStartedShards to fetch ReplicationCheckpoint. This checkpoint is then used by cluster manager to select the node containing the highest checkpoint.
The text was updated successfully, but these errors were encountered:
dreamer-89
changed the title
Handle fetch ReplicationCheckpoint for closed indices
Handle IndexShard.getLatestReplicationCheckpoint for closed indices
Mar 24, 2023
Closed indices have closed stores and thus access to IndexWriter fails with
AlreadyClosedException
while fetching ReplicationCheckpoint. One alternative here is read the replication checkpoint using DirectoryReader passing in the shard path.Use case
Cluster manager fetches shard state of replicas via TransportNodesListGatewayStartedShards to fetch ReplicationCheckpoint. This checkpoint is then used by cluster manager to select the node containing the highest checkpoint.
The text was updated successfully, but these errors were encountered: