Describe the bug
When I run cluster shards on a build from the 7.0.0 tag, I get strings from slot values, not integers.
documentation is pretty clear that they should be integers https://redis.io/commands/cluster-shards/ (that also seems like it should be the right thing in general)
To reproduce
127.0.0.1:5001> cluster shards
1) 1) "slots"
2) 1) "0"
2) "16383"
3) "nodes"
4) 1) 1) "id"
2) "4efebd0607d716c3f95e25598400a6f1fbd06d5b"
3) "port"
4) (integer) 5001
5) "ip"
6) ""
7) "endpoint"
8) ""
9) "hostname"
10) ""
11) "role"
12) "master"
13) "replication-offset"
14) (integer) 0
15) "health"
16) "online"
Expected behavior
0/16383 in slots array should be integers.
Additional information
build info Redis 7.0.0 (d375595d/0) 64 bit
Comment From: enjoy-binbin
https://github.com/redis/redis/blob/ff3a3577f29a07e965b3b38d07894410d28da499/src/cluster.c#L5067-L5078
yes.. look like we should use addReplyLongLong, introduced in https://github.com/redis/redis/pull/10293#pullrequestreview-963484288
this will be a breaking change, but i think we should fix it if not intentional, otherwise we fix the doc