We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cluster模式,在查询页面进行Scan时无法获取到数据。
List<RedisNode> redisMasterNodeList = getRedisMasterNodeList(cluster); int masterSize = redisMasterNodeList.size(); int count = masterSize < 10 ? 100 / masterSize : 10; autoCommandParam.setCount(count); Set<String> result = new LinkedHashSet<>(); redisMasterNodeList.forEach(masterNode -> { RedisClient redisClient = null; try { redisClient = RedisClientFactory.buildRedisClient(masterNode, cluster.getRedisPassword()); Set<String> scanResult = redisClient.scan(autoCommandParam); result.addAll(scanResult); } catch (Exception e) { logger.error("Scan redis failed, node = " + masterNode.getHost() + ":" + masterNode.getPort(), e); } finally { close(redisClient); } });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Cluster模式,在查询页面进行Scan时无法获取到数据。
The text was updated successfully, but these errors were encountered: