dosubot[bot] commented on issue #33604:
URL: https://github.com/apache/superset/issues/33604#issuecomment-2916356173
<!-- Answer -->
For Redis Sentinel in Superset, the correct value for CACHE_TYPE is
RedisSentinelCache. Your example is correct:
```python
COMMON_REDIS_CONFIG = {
'CACHE_TYPE': RedisSentinelCache,
'CACHE_REDIS_SENTINELS': CUSTOM_SENTINEL_SERVERS,
'CACHE_REDIS_SENTINEL_MASTER': CACHE_REDIS_SENTINEL_MASTER_NAME,
'CACHE_DEFAULT_TIMEOUT': 1200,
'CACHE_KEY_PREFIX': 'superset_',
'CACHE_REDIS_DB': 0
}
```
Make sure that CUSTOM_SENTINEL_SERVERS contains the actual hostnames or IPs
of your Sentinel nodes, and that CACHE_REDIS_SENTINEL_MASTER_NAME matches your
Sentinel master name. If you still have connection issues, check your Superset
logs for error messages and verify network connectivity and authentication
settings.
<!-- Dosu Comment Footer -->
*To reply, just mention my name [@dosu](https://go.dosu.dev/dosubot).*
---
<sup>How did I do?
[Good](https://app.dosu.dev/response-feedback/37fba76a-c85a-4f93-815c-86c475404111?feedback_type=great_response)
|
[Irrelevant](https://app.dosu.dev/response-feedback/37fba76a-c85a-4f93-815c-86c475404111?feedback_type=irrelevant_answer)
|
[Incorrect](https://app.dosu.dev/response-feedback/37fba76a-c85a-4f93-815c-86c475404111?feedback_type=incorrect_sources)
|
[Verbose](https://app.dosu.dev/response-feedback/37fba76a-c85a-4f93-815c-86c475404111?feedback_type=too_verbose)
|
[Hallucination](https://app.dosu.dev/response-feedback/37fba76a-c85a-4f93-815c-86c475404111?feedback_type=hallucination)
| [Report
🐛](https://app.dosu.dev/response-feedback/37fba76a-c85a-4f93-815c-86c475404111?feedback_type=bug_report)
|
[Other](https://app.dosu.dev/response-feedback/37fba76a-c85a-4f93-815c-86c475404111?feedback_type=other)</sup> [](https://go.dosu.dev/discord-bot) [!
[Share on
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/33604)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]