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

Migrate thresholds for logged/unlogged batches to guardrails

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Triage Needed
    • Normal
    • Resolution: Unresolved
    • None
    • Feature/Guardrails
    • None

    Description

      Migrate the existing thresholds for logged/unlogged batches:

      batch_size_warn_threshold_in_kb: 5
      batch_size_fail_threshold_in_kb: 50
      unlogged_batch_across_partitions_warn_threshold: 10
      

      To a pair of new guardrails under the guardrails section, for example:

      guardrails:
          ...
          batch_size:
              warn_threshold_in_kb: 5
              abort_threshold_in_kb: 50
          unlogged_batch_across_partitions:
              warn_threshold: 10
      

      At the moment these thresholds are enabled by default, while guardrails are globally disabled by default, so we should consider whether we want to globally enable guardrails, or change these thresholds to disabled by default, or don't migrate the thresholds.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              adelapena Andres de la Peña
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: