7. HyperLogLog #4
โข PFADD pf1 a b c d e f g
โข PFCOUNT pf1
โข 7
โข PFADD pf1 a b c z
โข PFCOUNT pf1
โข 8
โข PFADD pf2 e1 e2 e3 e4 a b
โข PFCOUNT pf2
โข 6
โข PFMERGE pf3 pf1 pf2
โข PFCOUNT pf3
โข 12
13. Redis Cluster #6 โ no cli cluster mode
โข cli> set kosslab 123
โข -> (error) MOVED 0 127.0.0.1:7002
โข cli> set openfrontier 123
โข -> (error) MOVED 13000 located at 127.0.0.1:7000
โข cli> get kosslab
โข -> (error) MOVED 0 127.0.0.1:7002
โข cli> get openfrontier
โข -> (error) MOVED 0 127.0.0.1:7000
14. Redis Cluster #6 โ cli cluster mode
โข cli:7001> set kosslab 123
โข -> Redirected to slot [0] located at 127.0.0.1:7002
โข OK
โข cli:7002> set openfrontier 123
โข -> Redirected to slot [0] located at 127.0.0.1:7000
โข OK
โข cli:7000> get kosslab
โข Redirected to slot [0] located at 127.0.0.1:7002
โข โ123โ
โข cli:7002> get openfrontier
โข Redirected to slot [0] located at 127.0.0.1:7000
โข โ123โ