GetServerRole got Issue

No, cases are different, we have 2 projects that use our same Redis Cache but they use different Environment, one uses kubernetes and redis sentinel (see this issue) and one uses IIS Windows and not redis sentinel. The problem with GetServerRole() is from a project that uses IIS and doesn’t use redis sentinel
And as for the issue from the previous forum post we still don’t know why it’s only happening in the production env and currently the issue never appears again and also in the dev env we never find that issue.

Thank you for your recommendation