我的DC有4个节点,查看节点status都是正常的,每小时会有1000多同时数据写入,经常性的出现 hinted handoff,节点之间转移数据,导致客户端请求写入Request timed out,写入策略是one,请问是什么原因呢?
Bringing together the Apache Cassandra experts from the community and DataStax.
Want to learn? Have a question? Want to share your expertise? You are in the right place!
Not sure where to begin? Getting Started
我的DC有4个节点,查看节点status都是正常的,每小时会有1000多同时数据写入,经常性的出现 hinted handoff,节点之间转移数据,导致客户端请求写入Request timed out,写入策略是one,请问是什么原因呢?
Hinted handoff不是写超时的原因。 这只是集群中节点无响应的征兆,因此hints最可能由coordinator存储,因为节点无法跟上write requests的速度。
写入的consistency level为ONE也不重要。所有的变异都由coordinator发送给所有replicas。
The hinted handoff is not the cause of the write timeouts. It is just a symptom of nodes in your cluster becoming unresponsive so hints are stored by the coordinator most likely because the nodes cannot keep up with the write requests.
It also does not matter that writes have a consistency level of ONE. All mutations are sent by the coordinator to all replicas. Cheers!
5 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2022 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use