协调器节点在插入数据时等待 Cassandra Datastax 中的副本节点超时

Coordinator node timed out waiting for replica nodes in Cassandra Datastax while insert data

当我尝试使用以下查询在 Cassandra 中插入数据时,出现了下面提到的错误

cqlsh:assign> insert into tblFiles1(rec_no,clientid,contenttype,datafiles,filename) values(1,2,'gd','dgfsdg','aww');

WriteTimeout: code=1100 [Coordinator node timed out waiting for replica nodes' responses] message="Operation timed out - received only 0 responses." info={'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'}

我的 CassandraDSE 版本: [cqlsh 5.0.1 |卡桑德拉 2.1.5.469 | DSE 4.7.0 | CQL 规范 3.2.0 |本机协议 l v3]

增加 Cassandra 配置文件中的 write_request_timeout_in_ms 超时时间 (cassandra.yaml) as

write_request_timeout_in_ms: 20000

并重启你的服务器