首页 > 解决方案 > 来自服务器的错误:code=1300 [Replica(s) failed to execute read] message="Operation failed

问题描述

使用 Python 从 Cassandra 获取 50k 记录时出现以下错误。

请问有什么建议吗?

来自服务器的错误:code=1300 [Replica(s) failed to execute read] message="操作失败 - 收到 0 个响应和 1 个失败" info={'consistency': 'LOCAL_ONE', 'required_responses': 1, 'received_responses' :0,“失败”:1}

标签: cassandra-3.0

解决方案


哪些字段与您的查询有关。您必须索引这些区域。例如;

create index target_image_index
   on target_image (field name);

推荐阅读