Hi!
I'm playing around with the new cross cluster replication feature and ran into some issues. Firstly, it worked like a charm, data got replicated and everything was good. After that, I decided to put load on the leader index to see if the follower can catch up - spoiler, with default settings it couldn't.
Anyway, now I got the issue, that the follower index doesn't replicate any data anymore.
When i call _ccr/stats i get this message:
{
"leader_index": "cluster2-follows-cluster1",
"timestamp": 1554360455200,
"auto_follow_exception": {
"type": "exception",
"reason": "ElasticsearchStatusException[can not fetch remote cluster state as the license state of the remote cluster [elasticsearch] could not be determined]; nested: ResourceNotFoundException[license info is missing for cluster [elasticsearch]];",
"caused_by": {
"type": "status_exception",
"reason": "can not fetch remote cluster state as the license state of the remote cluster [elasticsearch] could not be determined",
"caused_by": {
"type": "resource_not_found_exception",
"reason": "license info is missing for cluster [elasticsearch]"
}
}
}
}
]
can this be the root cause why my data doesn't get replicated anymore?
Furthermore, when I call _ccr/stats i get the info about an Index I used to follow (visit). This index doesn't exist anymore but i the follower still wants to fetch data from it - resulting in a index not found exception. This was achieved with the auto-follow functionality. Is there a way to remove the "knowledge" of that index? It will never come back and I want to get rid of those exceptions.
The response looks something like this:
"follow_stats": {
"indices": [
{
"index": "ccr-visit",
"shards": [
{
"remote_cluster": "elasticsearch",
"leader_index": "visit",
"follower_index": "ccr-visit",
"shard_id": 1,
"leader_global_checkpoint": -1,
...
}
}
}
Thanks in advance!
And sorry, for the formatting,... I don't find formatting options anywhere