Redis Sentinel configuration issue in common_site_config.json

Why is the redis_cache variable still necessary even though the redis_queue_sentinels variable already exists ?

This is my example config

{
 "redis_cache": "redis://redis-sentinel-node-0.redis-sentinel-headless.default.svc.cluster.local:6379",
 "redis_cache_master_service": "mymaster",
 "redis_cache_sentinel_enabled": 1,
 "redis_cache_sentinels": [
  "redis-sentinel:26379"
 ],
 "redis_queue": "redis://redis-sentinel-node-0.redis-sentinel-headless.default.svc.cluster.local",
 "redis_queue_master_service": "mymaster",
 "redis_queue_sentinel_enabled": 1,
 "redis_queue_sentinels": [
  "redis-sentinel:26379"
 ]
}

If I don’t define the redis_cache variable, commands like bench migrate won’t work.

It’s not necessary. Whatever value it has will be ignored as long as redis_cache_sentinel_enabled is set.