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

Add rate limited logging of failed trySkipCache calls and commit log lag

    XMLWordPrintableJSON

Details

    Description

      Since trySkipCache returns an errno rather than -1 and setting errno like our other CLibrary calls, it's thread-safe and we could print out more helpful information if we failed to prompt the kernel to skip the page cache. That system call should always succeed unless we have an invalid fd as it's free to ignore us.

      Commit log lag is already rate limited by its own implementation. Convert to use NoSpamLogger.

      Attachments

        1. 8584_v1.txt
          1 kB
          Joshua McKenzie
        2. NoSpamLogger.java
          4 kB
          Ariel Weisberg
        3. nospamlogger.txt
          1 kB
          Benedict Elliott Smith

        Issue Links

          Activity

            People

              aweisberg Ariel Weisberg
              JoshuaMcKenzie Joshua McKenzie
              Ariel Weisberg
              Benedict Elliott Smith
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: