-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Distributed Indexing/CCRIssues around the Cross Cluster State Replication featuresIssues around the Cross Cluster State Replication features>enhancement
Description
After deleting index (that was a follower), the _ccr/stats API still show the index in the stats.
Expected behavior: When an index does not exist anymore, it should not be listed as a follower index in the ccr stats.
Steps to reproduces
- Create a follower index
PUT /my-follower-index/_ccr/follow
{
"remote_cluster" : "new-york",
"leader_index" : "kibana_sample"
}- Delete the index
DELETE /my-follower-index- Fetch the CCR stats
GET /_ccr/stats
Response (200 status)
{
"auto_follow_stats": {
"number_of_failed_follow_indices": 0,
...
},
"follow_stats": {
"indices": [
{
"index": "my-follower-index",
"shards": [
{
"remote_cluster": "new-york",
"leader_index": "kibana_sample",
"follower_index": "my-follower-index",
...
}
]
}
]
}
}
Metadata
Metadata
Assignees
Labels
:Distributed Indexing/CCRIssues around the Cross Cluster State Replication featuresIssues around the Cross Cluster State Replication features>enhancement