Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-17142

Limit the maximum hints size per host

    XMLWordPrintableJSON

Details

    Description

      The hints system defines a time window, i.e. max_hint_window_in_ms, to store the hints.

      It defines no limit on how much data can be kept during the time window. The hints can grow excessively and make the node running out of disk. In such scenario, the operators have to truncate the hints manually.

      I'd propose that in addition to the conventional hints window, operators should be able to define the maximum hints size per host, i.e. max_hints_size_per_host_in_mb, to provide an another layer of protection. A node stops to store hints for the down node whenever it reaches to the time cap or the size cap. In order to not surprise the users, the config should be disabled by default. It should also be configurable via JMX.

      Attachments

        Activity

          People

            yifanc Yifan Cai
            yifanc Yifan Cai
            Yifan Cai
            Dinesh Joshi, Francisco Guerrero
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 20m
                2h 20m