HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

Is there a way to limit the hints stored for a Cassandra node?

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
storedthelimitnodewayhintsforcassandrathere

Problem

In a situation where a node keeps going up and down (for example, becomes temporarily unresponsive due to GC), is there a way to limit the the hints stored for the problematic node to prevent build up of hints files?

Solution

It is possible to limit the size of hints for a node that is unresponsive or unreachable by specifying a maximum size per node in cassandra.yaml. For example:

max_hints_size_per_host: 1024MiB


Note that this needs to be set on all nodes and will require a restart to take effect. Cheers!

Code Snippets

max_hints_size_per_host: 1024MiB

Context

StackExchange Database Administrators Q#316175, answer score: 2

Revisions (0)

No revisions yet.