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

redis: can't parse int reply: "*0" #775

Closed
Junesui opened this issue Sep 16, 2023 · 3 comments · Fixed by #863 or #870
Closed

redis: can't parse int reply: "*0" #775

Junesui opened this issue Sep 16, 2023 · 3 comments · Fixed by #863 or #870
Assignees

Comments

@Junesui
Copy link

Junesui commented Sep 16, 2023

image

master.log

root@localhost log]# grep 'level":"error' master.log | tail
{"level":"error","ts":1694830448.9083173,"msg":"failed to get popular items","error":"redis: can't parse array/set/push reply: \":0\""}
{"level":"error","ts":1694830643.819799,"msg":"failed to get popular items","error":"redis: can't parse array/set/push reply: \":0\""}
{"level":"error","ts":1694830643.8224752,"msg":"failed to read meta","error":"redis: can't parse reply=\"*0\" reading string"}
{"level":"error","ts":1694830693.9007611,"msg":"failed to load item categories","error":"redis: can't parse reply=\"*2\" reading string"}
{"level":"error","ts":1694831629.0067194,"msg":"failed to load item categories","error":"redis: nil"}
{"level":"error","ts":1694831659.9359875,"msg":"failed to get popular items","error":"redis: can't parse array/set/push reply: \":0\""}
{"level":"error","ts":1694831659.9362342,"msg":"failed to load item categories","error":"redis: nil"}
{"level":"error","ts":1694831659.951582,"msg":"failed to searching neighbors of items","error":"redis: can't parse int reply: \"~584\"","errorVerbose":"redis: can't parse int reply: \"~584\"\ngithub.com/zhenghaoz/gorse/master.(*Master).findItemNeighborsIVF.func4:505: \ngithub.com/zhenghaoz/gorse/base/parallel.DynamicParallel:124: \ngithub.com/zhenghaoz/gorse/master.(*Master).findItemNeighborsIVF:519: "}
{"level":"error","ts":1694833104.5687366,"msg":"failed to get popular items","error":"redis: can't parse array/set/push reply: \":1\""}
{"level":"error","ts":1694833108.9307518,"msg":"failed to searching neighbors of items","error":"redis: can't parse int reply: \"*0\"","errorVerbose":"redis: can't parse int reply: \"*0\"\ngithub.com/zhenghaoz/gorse/master.(*Master).findItemNeighborsIVF.func4:505: \ngithub.com/zhenghaoz/gorse/base/parallel.DynamicParallel:124: \ngithub.com/zhenghaoz/gorse/master.(*Master).findItemNeighborsIVF:519: "}
@Junesui
Copy link
Author

Junesui commented Sep 17, 2023

重新启动了一次,还是这一项,又挂了

image

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I restarted once, but this item still hung up again.

image

@ZJM6658
Copy link

ZJM6658 commented Apr 24, 2024

我也遇到了问题,难道redis key 不能有数字?
{"level":"error","ts":1713364228.2949905,"msg":"internal server error","request_id":"3cca9801-128a-4400-8a42-727b274b8140","error":"redis: can't parse int reply: \"*100\"","errorVerbose":"redis: can't parse int reply: \"*100\"\ngithub.com/zhenghaoz/gorse/server.(*RestServer).InsertFeedbackToCache:2069: "} {"level":"error","ts":1713364228.2957134,"msg":"failed to load item categories","error":"redis: can't parse array/set/push reply: \"%7\""} {"level":"error","ts":1713364228.2957737,"msg":"internal server error","request_id":"fbc6025e-c2a6-4174-9f09-aaa130702c4a","error":"redis: can't parse reply=\"%7\" reading string","errorVerbose":"redis: can't parse reply=\"%7\" reading string\ngithub.com/zhenghaoz/gorse/storage/cache.(*Redis).Set:291: "}

@zhenghaoz zhenghaoz self-assigned this Oct 12, 2024
This was linked to pull requests Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants