yiisoft / yiisoft/yii2-queue

Yii version 2.0.10 reports an error when using clientList for Redis in yii queue version 2.0.0

Open
#484 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status:need more info
Dominant language
PHP
Stars
1.1k
Forks
285
Avg merge
5d 3h
Merged PRs (30d)
2

Description

In Yii2.0.10, the yii-queue used is version 2.0.0

The getWorkersInfo method in the directory yii2 queue/src/drivers/redis/InfoAction.php will generate an abnormal error message with $data=$this ->queue ->redis ->clientList(), as shown in the following figure

image

Redis version is over 5.7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in yii2-queue/src/drivers/redis/InfoAction.php and inspect getWorkersInfo, especially the clientList() call. Reproduce the reported error with Yii 2.0.10, yii-queue 2.0.0, and a Redis version over 5.7, then compare the returned data and error output. Done means getWorkersInfo no longer produces the reported abnormal error.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, redis
Domain
backend, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.