Need help with enabling "Redis cluster" when using Redis Object Cache plugin #28
-
Scenario: I have a Redis cluster on AWS with 2 shards and 2 read replicas for each. My current configuration in the wp-config.php are these: AWS has given me a single endpoint for the cluster, while nodes have endpoints of their own.
-- wp-config ends ---- I want a confirmation if is that is how I need to set the configuration to use the cluster when I have shards and replicas, or do I need to specify both shards endpoints in the WP_REDIS_CLUSTER array, along with any additional configuration? Also, FlushAll command from the Admin panel doesn't seem to work properly. Do I need to do any additional configuration when using cluster? Any help is much appreciated, thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You only need to specify the cluster's primary nodes. All replicas will be auto-discovered. If something isn't working, please post your error logs. |
Beta Was this translation helpful? Give feedback.
You only need to specify the cluster's primary nodes. All replicas will be auto-discovered.
If something isn't working, please post your error logs.