cassandra-3.0 - 来自服务器的错误: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}
解决方案
哪些字段与您的查询有关。您必须索引这些区域。例如;
create index target_image_index
on target_image (field name);
推荐阅读
- c - 尝试更改clockintr中的proc字段时的内核陷阱
- sorting - 点火中的自定义实数
- flutter - 将图片从计算机加载到 Web 应用程序
- javascript - 在角度中获取元素的像素位置
- android - 如果从 Android 设备打开电子表格,则不会调用 GoogleScript > 可安装触发器 > onOpen(),为什么?
- c++ - 不清楚 ANSI CUB/CUF 行为
- ios - Youtube dl 不是用 python 2 执行的
- java - 如何为我的 RecyclerView 保存InstanceState?
- php - 抽象类中的抽象 __construct。声明必须兼容... PHP 的错误?
- batch-file - 从命令提示符打印目录到文本文件时缺少特殊字符