You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Obviously, the issue is about the sharding: Key 'A' and 'a' are in different shards. It turns out that if I write the data in another shard, this operation is not permitted.
127.0.0.1:7000> get 'a'
-> Redirected to slot [15495] located at 127.0.0.1:7002
"SOMEVALUE"
127.0.0.1:7002> get 'A'
-> Redirected to slot [6373] located at 127.0.0.1:7001
Is this the design of RedisGears or did I miss anything?
More information:
I'm using the docker image "redislabs/redisgears:latest"
I planned to try "redislabs/redisgears:2.0.19-m20". But I haven't found the API document of RedisGear2. So I didn't do it.
I created a very simple RedisGears function as follows.
I created an entry by 'SET a somevalue' in a cluster composed of three shards, then ran the function. It reported 'Operation not permitted.'
But If I just change one byte of the code: 'A'->'a', then run it in the same environment. It works fine.
Obviously, the issue is about the sharding: Key 'A' and 'a' are in different shards. It turns out that if I write the data in another shard, this operation is not permitted.
Is this the design of RedisGears or did I miss anything?
More information:
The text was updated successfully, but these errors were encountered: