Use of INFO command in Redis

Hi,

We’re trying to use ServiceStack in scale but one thing that blocks us to do so is that ServiceStack.Redis uses INFO for determining master/slave. Is there a way to not use this particular command while still keeping the ability to identify master and slave correctly? The context here is that our company has banned Redis INFO command due to the fact that it releases critical server config info. Any help is appreciated. Thanks

I believe Info is only required internally for older clients to detect the server version number which you can avoid calling by specifying it with:

RedisConfig.AssumeServerVersion = 4000;

Any version number above 3000+ (v3) doesn’t matter, it’s used in redis-server v2 to use more optimal commands when they’re available.

Let me know if you run into any issues with features relying on Info.