Hi, I have a setup with 3 redis master node, I'm connecting to one of those and I'm trying to use a Pipeline to daisy chain two redis commands. This is my minimal working example
I'm a bit lost on how to how to handle this error, I've tried the following:
Make another request after catching the error
Repoint RedisCluster to the address provided by the exception
Creating new connection (not passing false to Pipeline's constructor)
create a new Pipeline after catching the error and reuse it manually (making it a member of a class)
But none of these seem to work. I've looked around the issues here, checked stackoverflow and can't seem to run into anyone that's having the same problem as I do. I'm no redis expert, so I might be missing something obvious, but I'm really out of ideas here.
Potential problems that I can think of:
each of these commands land on a different shard, but this will render Pipeline not suitable and I'm not sure how should I know this in advance from code POV
Hi, I have a setup with 3 redis master node, I'm connecting to one of those and I'm trying to use a Pipeline to daisy chain two redis commands. This is my minimal working example
The result I get is:
I'm a bit lost on how to how to handle this error, I've tried the following:
But none of these seem to work. I've looked around the issues here, checked stackoverflow and can't seem to run into anyone that's having the same problem as I do. I'm no redis expert, so I might be missing something obvious, but I'm really out of ideas here.
Potential problems that I can think of:
Environment: