hibiken / asynq

Simple, reliable, and efficient distributed task queue in Go
MIT License
9.49k stars 688 forks source link

UNKNOWN: redis command error: SADD failed: READONLY You can't write against a read only replica. #854

Open avvari-da opened 5 months ago

avvari-da commented 5 months ago

Describe the bug Getting the following error randomly. UNKNOWN: redis command error: SADD failed: READONLY You can't write against a read only replica. Finding a tough time figuring out the issue.

Additional context Am using Redis Sentinel on Kubernetes.

Please help! Thanks in advance.

cold-bin commented 5 months ago

can your redis perform config set readonly no in redis-cli after data migrated?

hernandikrammes commented 4 months ago

We identify that on this situation the use of CPU on kubernetes get very high. Someone could validate that too?