Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【P0】Codis getrange command bug #2508

Closed
luky116 opened this issue Mar 13, 2024 · 1 comment · Fixed by #2510
Closed

【P0】Codis getrange command bug #2508

luky116 opened this issue Mar 13, 2024 · 1 comment · Fixed by #2510
Labels
☢️ Bug Something isn't working

Comments

@luky116
Copy link
Collaborator

luky116 commented Mar 13, 2024

Is this a regression?

Yes

Description

The getrange of codis does not return the expected results, as shown below:
codis 的 getrange 没有返回预期的结果,如下图:

image

The following is directly connected to Pika, which can get the expected results:
下面是直接连 Pika,能得到预期的结果:
image

The test command is as follows:
测试命令如下:
set adfasdf "This is a string"
getrange adfasdf 0 3

Expected return results:
期望返回结果:
This

If the repair is completed, remember to open the "should GetRange" test under pika/tests/integration/codis_test.go
如果修复完成,记得把 pika/tests/integration/codis_test.go 下面的 "should GetRange" 测试打开
image

@luky116 luky116 added the ☢️ Bug Something isn't working label Mar 13, 2024
@luky116
Copy link
Collaborator Author

luky116 commented Mar 13, 2024

补充:发现是 Pika 侧返回 getrange 的值不稳定导致的,看起来是 Pika 侧的问题

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
☢️ Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant