You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Cassandra 4.1集群全节点UN状态下写入一致性超时问题求助

Cassandra 4.1集群批量日志写入超时问题求助

我们有两个相互独立、相距较远的Cassandra集群,均运行Cassandra 4.1版本。两个集群在间隔两周的相近时间点均出现写入失败,报错信息为:
批量日志写入时服务器超时,一致性级别为TWO(仅1个节点确认写入,需要2个)

相关现象:

  • 两个集群的3个节点均显示Up/Normal(UN)状态,无法定位问题根源
  • 尝试停止其中一个非种子节点后,写入恢复正常;但重启该节点后,报错再次出现,写入中断
  • 仅当重启所有节点后,两个集群才可恢复正常运行
  • 对比情况:我们有一个运行4年的3.11版本集群仅出现过轻微问题,而这两个4.1集群仅运行了4个月

补充describecluster命令输出:

Cluster Information:
        Name: ConsMdm
        Snitch: org.apache.cassandra.locator.GossipingPropertyFileSnitch
        DynamicEndPointSnitch: enabled
        Partitioner: org.apache.cassandra.dht.Murmur3Partitioner
        Schema versions:
                3a47c6e5-4d0b-3386-b361-515d4522bc19: [192.168.30.5, 192.168.30.6, 192.168.30.7]

Stats for all nodes:
        Live: 3
        Joining: 0
        Moving: 0
        Leaving: 0
        Unreachable: 0

Data Centers:
        dc1 #Nodes: 3 #Down: 0

Database versions:
        4.1.5: [192.168.30.5:7000, 192.168.30.6:7000, 192.168.30.7:7000]

Keyspaces:
        system_auth -> Replication class: NetworkTopologyStrategy {dc1=3}
        mdm -> Replication class: NetworkTopologyStrategy {dc1=3}
        system_distributed -> Replication class: SimpleStrategy {replication_factor=3}
        system_traces -> Replication class: SimpleStrategy {replication_factor=2}
        system_schema -> Replication class: LocalStrategy {}
        system -> Replication class: LocalStrategy {}

请问是否有人遇到过此类问题?


内容的提问来源于stack exchange,提问作者RADU

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.19 04:24:56