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

 

question

wjjfree avatar image
wjjfree asked ·

gossip generation使用了int型承载数据,整型溢出会出现什么问题?

gossip generation使用了int型承载数据,对应的是UTC时间的秒数,假如UTC秒到了整型的最大值,也就是2147483647秒(2038年某一时间),下一秒后整型溢出,整个系统不会出问题么?

gossip
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

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!

1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

ok,thank you.

0 Likes 0 ·