gossip generation使用了int型承载数据,对应的是UTC时间的秒数,假如UTC秒到了整型的最大值,也就是2147483647秒(2038年某一时间),下一秒后整型溢出,整个系统不会出问题么?
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
You've raised a good point. The gossip generation is used for internal tasks and in the event of an overflow, a node's gossip generation can be considered invalid so it may not be able to gossip with other nodes.
I would recommend logging a ticket with the Cassandra project so it can be addressed as a bug. 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