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

Make DatabaseDescriptor.getNativeTransportMaxFrameSize() a hotprop

    XMLWordPrintableJSON

Details

    • Normal

    Description

      Large mutations are rejected by the commit log (https://github.com/apache/cassandra/blob/cassandra-3.0/src/java/org/apache/cassandra/db/commitlog/CommitLog.java#L254) but when totalSize is significantly greater than the MAX_MUTATION_SIZE the damage to the node may already done. Large mutations cause large buffers to be allocated and can lead to GC trashing and generally bad node health. 

      It should be possible to set a size above which the native protocol rejects messages without materializing them into objects and passing them downstream. 

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jwest Jordan West
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: