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

Log WARN on large batch sizes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.0.8, 2.1 beta2
    • None
    • None

    Description

      Large batches on a coordinator can cause a lot of node stress. I propose adding a WARN log entry if batch sizes go beyond a configurable size. This will give more visibility to operators on something that can happen on the developer side.

      New yaml setting with 5k default.

      # Log WARN on any batch size exceeding this value. 5k by default.
      # Caution should be taken on increasing the size of this threshold as it can lead to node instability.

      batch_size_warn_threshold: 5k

      Attachments

        1. 6487-cassandra-2.0_v2.patch
          7 kB
          Lyuben Todorov
        2. 6487-cassandra-2.0.patch
          6 kB
          Lyuben Todorov

        Issue Links

          Activity

            People

              lyubent Lyuben Todorov
              pmcfadin Patrick McFadin
              Lyuben Todorov
              Benedict Elliott Smith
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: