redis2: orphan cleanup existence checks must not read replicas (#10745)

* redis2: route the orphan cleanup existence checks to the master

* scaffold: the redis_cluster2 read routing key is useReadOnly
This commit is contained in:
Chris Lu authored and GitHub committed 2026-08-13 13:33:15 -07:00
1 parent ae2cc8225e
commit 0481f712b1
2 files changed
+12 -3

No files matched your search

+1 -1
View File
@@ -285,7 +285,7 @@ ca_cert_path = ""
client_cert_path = ""
client_key_path = ""
# allows reads from slave servers or the master, but all writes still go to the master
readOnly = false
useReadOnly = false
# automatically use the closest Redis server for reads
routeByLatency = false
# This changes the data layout. Only add new directories. Removing/Updating will cause data loss.