【发布时间】:2026-01-23 02:05:01
【问题描述】:
当我尝试使用以下查询在 Cassandra 中插入数据时,出现以下错误
cqlsh:assign> insert into tblFiles1(rec_no,clientid,contenttype,datafiles,filename) values(1,2,'gd','dgfsdg','aww');
WriteTimeout: code=1100 [Coordinator 节点超时等待 副本节点的响应] message="操作超时 - 仅收到 0 个回复。” info={'received_responses': 0, 'required_responses': 1, '一致性':'一个'}
我的Cassandra 和DSE 版本:
[cqlsh 5.0.1 |卡桑德拉 2.1.5.469 | DSE 4.7.0 | CQL 规范 3.2.0 |原生协议 v3]
【问题讨论】:
-
你能从你的节点检查/发布 cassandra.log 吗?
-
trace 查询的结果也可能有用。
-
ReadTimeout: 来自服务器的错误:code=1200 [协调节点超时等待副本节点的响应] message="操作超时 - 仅收到 0 个响应。" info={'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} 在进行选择查询时出现此错误。请给出解决方案
标签: cassandra cql datastax-enterprise