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

Reduce amount of logging calls from ColumnFamilyStore.selectAndReference

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1.15, 2.2.7, 3.0.7, 3.7
    • None
    • None

    Description

      org.apache.cassandra.db.ColumnFamilyStore#selectAndReference logs two messages at info level "as fast as it can" if it waits for more than 100ms.

      The following code is executed in a while-true fashion in this case:

                      logger.info("Spinning trying to capture released readers {}", released);
                      logger.info("Spinning trying to capture all readers {}", view.sstables);
      

      Attachments

        Activity

          People

            snazy Robert Stupp
            snazy Robert Stupp
            Robert Stupp
            Benjamin Lerer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: