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

Change the logging level from WARN to INFO when invoked from "insights" thread (Spinning trying to capture readers)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Won't Fix
    • None
    • None
    • None
    • All
    • None
    • 4.0

    Description

      The metric collector for Apache Cassandra (MCAC) is trying to get stats about the sstables to report metrics while compaction has them locked.

      Since the warning message is from the "insights" thread rather than the "compaction" thread, the message is considered harmless.

      Since the message is harmless and doesn't require action when reported from the “insights” thread. The message logging level should be moved from WARN to INFO.

      Sample WARN Message:
      WARN [insights-6-1] 2022-09-21 12:00:53,416 NoSpamLogger.java:95 - Spinning trying to capture readers [BigTableReader(path='/cassandra/data/tokens/events-d111f320f8e011ec8ae317b93c6db81b/nb-17753-big-Data.db'), BigTableReader(path='/cassandra/data/tokens/events-d111f320f8e011ec8ae317b93c6db81b/nb-19976-big-Data.db'), BigTableReader(path='/cassandra/data/tokens/events-d111f320f8e011ec8ae317b93c6db81b/nb-18476-big-Data.db'), BigTableReader(path='/cassandra/data/tokens/events-d111f320f8e011ec8ae317b93c6db81b/nb-21870-big-Data.db'), BigTableReader(path='/cassandra/data/tokens/events-d111f320f8e011ec8ae317b93c6db81b/nb-20638-big-Data.db'), BigTableReader(path='/cassandra/data/tokens/events-d111f320f8e011ec8ae317b93c6db81b/nb-22723-big-Data.db'), BigTableReader(path='/cassandra/data/tokens/events-d111f320f8e011ec8ae317b93c6db81b/nb-21223-big-Data.db'),

      Attachments

        Activity

          People

            Unassigned Unassigned
            kumarbharath BHARATH KUMAR
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: