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

Remove string formatting lines from hot path

    XMLWordPrintableJSON

Details

    Description

      In the BufferPool, we have a NoSpamLogger that gets called in some conditions (like when we're at or near the cap in a given pool), which has some string formatting on it. In situations where that log line is invoked, that string formatting gets called before the rate limiting, which becomes expensive.

      Attachments

        Issue Links

          Activity

            People

              jjirsa Jeff Jirsa
              jjirsa Jeff Jirsa
              Jeff Jirsa
              Marcus Eriksson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: