EloqKV Compatibility with different Redis Clients
OverView
This document outlines the compatibility and connection behavior of EloqKV and Redis Cluster when accessed using the same client libraries (Jedis, redis-py, go-redis).
Recommended Client Version
EloqKV is compatible with Redis 7.0. Clients built for earlier Redis versions may encounter compatibility issues. We recommend using one of the client versions listed below.
| Client | Versions |
|---|---|
| jedis | >= 4.0, please refer to |
| redis-py | >= 4.5.0, please refer to |
| go-redis | >= v9, please refer to |
Incompatible Command Behavior
-
Cluster Behavior Differences
In Redis Cluster, commands likeDBSIZE,INFO,FLUSHDB, andSCANreturn results from a single node. In contrast, EloqKV returns aggregated, global results across all nodes. This leads to differences in behavior for these commands. -
Client Info and Client List
Output ofCLIENT INFOandCLIENT LISTis not consistent with Redis Cluster. The following are dummy fields and users should not rely on those. (qbuf, qbuf-free, argv-mem, obl, omem, tot-mem) -
Config Set / Get Support
Currently, EloqKV supportsCONFIG SETandCONFIG GETfor the following parameters only:slowlog-log-slower-thanslowlog-max-len
-
Cross Slot Error
If theauto_redirectflag is enabled, EloqKV will not return theCROSS SLOTerror code. If the client receives aCROSS SLOTerror in this case, it is because some clients perform slot related checks before issuing the command.