【问题标题】:Coordinator node timed out waiting for replica nodes' responses] message="Operation timed out - received only 0协调节点超时等待副本节点的响应] message="操作超时-仅收到0
【发布时间】:2021-04-29 02:48:20
【问题描述】:

异常:来自服务器的错误:code=1100 [协调节点超时等待副本节点的响应] message="操作超时 - 仅收到 0 个响应。" info={'received_responses': 0, 'required_responses': 1, 'write_type': 'COUNTER', 'consistency': 'LOCAL_ONE'}

我使用的是三节点 Cassandra 集群。随着时间的推移运行应用程序后。我不断看到异常。

enter image description here

谁能帮帮我,我为什么会遇到这个问题?

【问题讨论】:

    标签: python flask cassandra


    【解决方案1】:

    协调器超时通常是集群配置不足/过载或网络问题的症状。此超时由cassandra.yaml 设置*_request_timeout_in_ms 控制。 https://cassandra.apache.org/doc/latest/configuration/cassandra_config_file.html#read-request-timeout-in-ms

    您可以尝试提高这些值,但如果集群过载,您最终可能会变得更糟,并将超时推向客户端超时。

    【讨论】:

      猜你喜欢
      • 2016-01-16
      • 2015-08-15
      • 2020-02-04
      • 1970-01-01
      • 2019-07-14
      • 1970-01-01
      • 2017-06-18
      • 2018-12-21
      • 1970-01-01
      相关资源
      最近更新 更多