You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
asynq can not follow the right redis master.
Environment:
OS: [Linux]
asynq package version [e.g. v0.25.0]
Redis/Valkey version
To Reproduce
use helm to install a redis cluster, with sentinel be set to true.
configure the asynq using sentinel:
Expected behavior
asynq can follow the right master and running normally.
Screenshots
go-redis can find the right master and change:
But asynq report error:
asynq: pid=1 2024/11/07 08:23:58.539202 ERROR: Dequeue error: UNKNOWN: redis eval error: READONLY You can't write against a read only replica. script: a8153319360adc71cdc370107f8ab9786f204765, on @user_script:3.
asynq: pid=1 2024/11/07 08:23:58.557608 ERROR: Failed to write server state data: UNKNOWN: redis command error: SADD failed: READONLY You can't write against a read only replica.
The text was updated successfully, but these errors were encountered:
hoorayman
changed the title
[BUG] Description of the bug: asynq can not follow the right redis master when using sentinel mode.
[BUG] asynq can not follow the right redis master when using sentinel mode.
Nov 7, 2024
Describe the bug
asynq can not follow the right redis master.
Environment:
asynq
package version [e.g. v0.25.0]To Reproduce
use helm to install a redis cluster, with sentinel be set to true.
configure the asynq using sentinel:
Expected behavior
asynq can follow the right master and running normally.
Screenshots
go-redis can find the right master and change:
But asynq report error:
asynq: pid=1 2024/11/07 08:23:58.539202 ERROR: Dequeue error: UNKNOWN: redis eval error: READONLY You can't write against a read only replica. script: a8153319360adc71cdc370107f8ab9786f204765, on @user_script:3.
asynq: pid=1 2024/11/07 08:23:58.557608 ERROR: Failed to write server state data: UNKNOWN: redis command error: SADD failed: READONLY You can't write against a read only replica.
The text was updated successfully, but these errors were encountered: