[英]When are hints dropped in Cassandra
There are 2 articles I read about Hinted Handoffs in Cassandra. 我读了2篇关于Cassandra中的提示切换的文章。
In Article1 it states that the hints are discarded after max_hint_window_in_ms
(3 hours by default), but according to Article2 the hints are discarded after gc_grace_seconds
(default: 10 days). 在第一条它指出提示是后丢弃
max_hint_window_in_ms
(3小时默认情况下),但是根据第二条中的提示被丢弃后gc_grace_seconds
(默认值:10天)。 If we assume the defaults then when will the hints be discarded? 如果我们采用默认值,那么什么时候会丢弃这些提示?
As mentioned in 2nd article, behavior is different depending on Cassandra version. 如第二篇文章所述,行为因Cassandra版本而异。 The first link describes Cassandra 2.1, while 2nd article talks about 3.x versions.
第一个链接介绍了Cassandra 2.1,而第二个文章则介绍了3.x版本。
What version of Cassandra do you use? 您使用什么版本的Cassandra?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.