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

Reduce amount of logging calls from ColumnFamilyStore.selectAndReference

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.1.15, 2.2.7, 3.0.7, 3.7
    • Component/s: None
    • Labels:
      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

            • Assignee:
              snazy Robert Stupp
              Reporter:
              snazy Robert Stupp
              Authors:
              Robert Stupp
              Reviewers:
              Benjamin Lerer
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: