I am working on Disaster Recovery for my application deployed on Azure. I am using following architecture.
Left side of Azure front door is primary region and right side is secondary region. Suppose disaster happened in primary region then Azure front door will send data to secondary region Azure function. Now failback happened that means primary region is up now. I want to flush all keys from Redis for Primary region since it has stale data before Azure front door sending data to primary region azure function. Azure front door is configured to send data to primary region if it is healthy otherwise secondry region Azure function. How can I do that?
Thanks