Ken Hibino
ac3d5b126a
Update README
2020-09-12 12:59:03 -07:00
Ken Hibino
29e542e591
Rename Enqueue methods in Inspector to Run
2020-09-12 12:59:03 -07:00
Ken Hibino
a891ce5568
Rename InProgress to Active
2020-09-12 12:59:03 -07:00
Ken Hibino
ebe3c4083f
Rename NextEnqueueAt to NextProcessAt
2020-09-12 12:59:03 -07:00
Ken Hibino
c8c47fcbf0
Rename Enqueued to Pending
2020-09-12 12:59:03 -07:00
Ken Hibino
cca680a7fd
Change Client.Enqueue to take ProcessAt and ProcessIn as Option
2020-09-12 12:59:03 -07:00
Ken Hibino
8076b5ae50
Use different redis db number for rdb package tests
2020-09-12 12:59:03 -07:00
Ken Hibino
a42c174dae
Display cluster keyslot and nodes in queueList command
2020-09-12 12:59:03 -07:00
Ken Hibino
a88325cb96
Add ClusterNodes and ClusterKeySlot in Inspector
2020-09-12 12:59:03 -07:00
Ken Hibino
eb739a0258
Fix flaky test
2020-09-12 12:59:03 -07:00
Ken Hibino
a9c31553b8
Add redis-cluster support in asynq CLI
2020-09-12 12:59:03 -07:00
Ken Hibino
dab8295883
Validate queue name in Inspector
2020-09-12 12:59:03 -07:00
Ken Hibino
131ac823fd
Return error if queue name is empty when enqueueing
2020-09-12 12:59:03 -07:00
Ken Hibino
4897dba397
Upgrade redis client lib to v7.4.0
2020-09-12 12:59:03 -07:00
Ken Hibino
6b96459881
Add test flags to run tests using redis cluster
2020-09-12 12:59:03 -07:00
Ken Hibino
572eb338d5
Fix flaky ProcessorRetry test
2020-09-12 12:59:03 -07:00
Ken Hibino
27f4027447
Add RedisClusterClientOpt to connect to redis cluster
2020-09-12 12:59:03 -07:00
Ken Hibino
ee1afd12f5
Fix done lua script
...
If UniqueKey is an empty string, do not provide the key to Lua script
because that will cause CROSSSLOT error in redis cluster (since it
doesn't have any hash tag).
2020-09-12 12:59:03 -07:00
Ken Hibino
3ac548e97c
Fix dequeue Lua script to use a single hash tag
2020-09-12 12:59:03 -07:00
Ken Hibino
f38f94b947
Restructure CLI commands with subcommands
2020-09-12 12:59:03 -07:00
Ken Hibino
d6f389e63f
Add Queues method to Inspector
2020-09-12 12:59:03 -07:00
Ken Hibino
118ef27bf2
Update RemoveQueue in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
fad0696828
Fix errors in inspector tests
2020-09-12 12:59:03 -07:00
Ken Hibino
4037b41479
Fix client tests
2020-09-12 12:59:03 -07:00
Ken Hibino
96f23d88cd
Add more processor tests
2020-09-12 12:59:03 -07:00
Ken Hibino
83bdca5220
Fix test build errors
2020-09-12 12:59:03 -07:00
Ken Hibino
2f226dfb84
Update ListServers and ListWorkers methods in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
3f26122ac0
Fix more build errors
2020-09-12 12:59:03 -07:00
Ken Hibino
2a18181501
Fix inspector build error
2020-09-12 12:59:03 -07:00
Ken Hibino
aa2676bb57
Update Broker interface
2020-09-12 12:59:03 -07:00
Ken Hibino
9348a62691
Update Inspector API
2020-09-12 12:59:03 -07:00
Ken Hibino
f59de9ac56
Update all delete methods in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
996a6c0ead
Update all kill methods in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
47e9ba4eba
Update enqueue methods in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
dbf140a767
Update all list methods in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
5f82b4b365
Update HistoricalStats method in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
44a3d177f0
Update Pause and Unpause methods in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
24b13bd865
Update CurrentStats method in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
d25090c669
Add AllQueues method to RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
b5caefd663
Remove stale benchmark test
2020-09-12 12:59:03 -07:00
Ken Hibino
becd26479b
Update WriteServerState and ClearServerState in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
4b81b91d3e
Minor fix
2020-09-12 12:59:03 -07:00
Ken Hibino
8e23b865e9
Update recoverer
2020-09-12 12:59:03 -07:00
Ken Hibino
a873d488ee
Update ListDeadlineExceeded in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
e0a8f1252a
Update scheduler to check and enqueue for only the specified queues.
2020-09-12 12:59:03 -07:00
Ken Hibino
650d7fdbe9
Update CheckAndEnqueue method in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
f6d504939e
Update Requeue method in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
74f08795f8
Update Kill method in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
35b2b1782e
Update Retry method in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
f63dcce0c0
Update Done method in RDB
2020-09-12 12:59:03 -07:00