Kibana license disappears

ROR Version: Enterprise 1.55.0_es7.15.1 :unicorn:
Kibana Version: 7.15.1
Elasticsearch Version: 7.15.1

Steps to reproduce the issue
Make the .readonlyrest_licens index red

Expected result:
After the index is restored, the license is restored.

Actual Result:
The index is recreated with a free license.

{“customer_id”: “6c4a385b-2ae8-4f02-a9cd-ef24addfb5b3”, “subscription_id”: “32d4073f-dc2f-4056-a868-842727c637cd”}

We have 3 servers, so I fixed it by adding the parameter:
“index.auto_expand_replicas”: “0-2”,
“index.number_of_replicas”: “2”

It would be better if there is no license; this index is not touched at all.

Thanks for reporting this issue. I’m trying to find out what’s happening here.