在Cassandra中删除读取和删除突变 [英] Drop reads and drop mutations in Cassandra

查看:62
本文介绍了在Cassandra中删除读取和删除突变的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有多个DC的大型Cassandra群集.有时,我在带有213个内部节点和514个交叉节点的debug.log中收到有关Drop读取和删除突变的INFO消息.但是,应用程序不受影响.根据我的理解,实际的请求没有失败,但是某些副本没有响应协调器,如果实现了一致性,则请求成功.请澄清我是否有误会.

I have large Cassandra cluster with multiple DC. Sometimes I am getting INFO message for Drop read and drop mutations in debug.log with 213 internal and 514 cross node. however, application was not impacted. As per my understanding actual request was not failing but some of the replica did not respond to the coordinator and if consistency achieved then request got successful. please clarify if I am having misunderstanding.

推荐答案

如果满足请求的一致性级别,则应用程序不会从协调器收到错误.您提到该应用程序没有受到影响,但这可能是因为:

The application will not get an error from the coordinator if the consistency level for the requests are satisfied. You mentioned that the application was not impacted but that's likely because:

  • 读取或写入请求的一致性级别较低(例如, ONE LOCAL_ONE ),或
  • 请求一致性级别为 LOCAL _ * ,但对于远程DC中的副本失败.
  • the read or write request has a low consistency level (for example, ONE or LOCAL_ONE), or
  • the request consistency level is LOCAL_* but failed for a replica(s) in a remote DC.

FWIW,内部丢弃的消息是本地节点拒绝读取或写入请求而跨节点是对远程节点(副本)的请求.干杯!

FWIW, internal dropped messages is when the local node rejected the read or write request and cross-node is for requests to remote nodes (replicas). Cheers!

这篇关于在Cassandra中删除读取和删除突变的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆