Question: 1 / 50

What is the default time for a node to store a hint in Cassandra?

1 hour

3 hours

In Cassandra, the default time for a node to store a hint is indeed 3 hours. Hints are a mechanism used to handle temporary node failures by allowing a coordinator node to store a hint for any writes that the failed node missed while it was down. The purpose of this is to ensure that data eventual consistency is maintained. After the designated time period of 3 hours, if the hinted node hasn’t resumed and received the missed writes, the hints will be discarded to prevent stale data from persisting in the system. This time frame balances the need to provide recovery support for a reasonable duration while avoiding the risks of retaining potentially outdated information.

5 hours

24 hours

Next

Report this question