Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Won't Fix
-
None
-
None
-
None
-
All
-
None
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'),