MOVING Exception happened while resharding slots

32 views
Skip to first unread message

北原春希

unread,
Feb 15, 2022, 8:58:17 AM2/15/22
to Redis DB
Redis Server Version: 3.0.6

I have a test program, it continuous send requests to redis cluster. Requests contains SET、GET、LPUSH and LRANGE.

While resharding slots, all requests work so well, except LPUSH, it will cause MOVING exception in a high probability.

My program has a fault-tolerant client. It could deal with MOVING and MOVED exception. In fact it could deal MOVING exception caused by LRANGE request so well. 

Could anyone please explain that? 

The attachment is fault-tolerance implement of my client.
code.cs
Reply all
Reply to author
Forward
0 new messages