Replies: 3 comments 4 replies
-
There is a breaking change that pipelines are not thread-safe any more: https://github.com/redis/go-redis/blob/master/CHANGELOG.md#breaking |
Beta Was this translation helpful? Give feedback.
2 replies
-
It seems that there is a problem in our judgment, and many people want to use the pipeline thread-safely. Should we consider restoring it? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Hello, I just hit this issue but I easily refactored without having to use the pipeline in different goroutines. It was a design fault on my side. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
we just upgraded from v8 to v9 in one of our backend services. We also migrated to the new repo address with this version upgrade. We are using go 1.19 btw.
After the upgrade we ran into an issue with a segmentation violation that was reproducible on our "integration" environment. We are using docker in kubernetes. The base image for the go binary is the alpine:latest image currently at version 3.17.2
Our code ran for month in production and we did not changes this part of the code in the last weeks at all. After we discovered and analyzed the problem, we reverted the upgrade from v9 to v8 and the problem is gone.
I don't want to blame the issue on the library yet as it could be a weird coincidence with the docker image, etc, but i am not sure either what to do from now.
Now here is the log of the seg violation and some code for reference. You will see we are using a redis.Pipeliner to
Set(...)
some values in redis.Anybody as curious as i am what the issue could be here?
We are also using v9 in another service and did not yet experience the problem. But i am now quiet scared for deploying the upgrade to any service :D
overview facts:
this is the code in question
please note i had to strip internal information from the log but the stacktrace is complete.
Beta Was this translation helpful? Give feedback.
All reactions