mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 15:35:55 +03:00
[GH-ISSUE #655] [BUG] Some Redis hset command parameter issues on different platform versions need to be fixed #2351
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#2351
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wenlng on GitHub (May 6, 2023).
Original GitHub issue: https://github.com/hibiken/asynq/issues/655
Originally assigned to: @hibiken on GitHub.
I got this error asynq
for example: run TestSchedule() is bug of asynq/internal/rdb_test.go [lineNumber: 1404]
/Users/awen/sdk/go/go1.19.3/bin/go tool test2json -t /private/var/folders/asynq_internal_rdb.test -test.v -test.paniconexit0 -test.run ^\QTestSchedule\E$
=== RUN TestSchedule
rdb_test.go:1420: (*RDB).Schedule(&{send_email [123 34 115 117 98 106 101 99 116 34 58 34 104 101 108 108 111 34 125] 32aeac9e-3582-4387-9c40-0d8f34af034c default 25 0 0 1800 0 0 0}, 2023-05-07 01:22:58.211971 +0800 CST m=+900.009080521) = UNKNOWN: redis eval error: ERR Error running script (call to f_8ce6b38a99b73194585c251eb3c2a89559f37a87): @user_script:5: @user_script: 5: Wrong number of args calling Redis command From Lua script , want nil
--- FAIL: TestSchedule (0.01s)
FAIL
Process finished with the exit code 1
========================================================================================================================================================================================
The Redis hset command does not support more than three parameters in certain versions
for example: asynq/internal/rdb/rdb.go [lineNumber: 96]
To support some platform versions of Redis, it needs to be changed to the following content
======================== RDB.RedisInfo() ===============================