Errors in log "Error is getting the required metadata"

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
OpenSearch 2.6

Describe the issue:
Errors in logs like: “«Error is getting the required metadata ResourseNotFoundException[Metadata for idx-nn-2023.05.19 doesn’t exist]””

Configuration:
We have 2 clusters with 2-way cross-cluster-replication. Indexes are created every day according to the mask and replicated to a neighboring cluster by the autofollow rule. Every day runs a script to stop replication of indices older than 2 days. This is necessary to implement the hot-warm index retention policy. After some time, we observe errors in the log about the absence of metadata for already replicated indices

I face the same issue. There is no replication, replication was stopped and finished successfully, but the follower cluster got the errors about the previous replicated index.