解决 Redis 报错 Write commands not allowed from read-only scripts分析 Redis 客户端向只读从库执行包含写命令的 Lua 脚本报 ERR Write commands not allowed 根因,提供读写分离路由校准方案。Redis · readonly · 只读从库2026.10.23