You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (Jira)" <ji...@apache.org> on 2023/08/15 21:21:00 UTC
[jira] [Commented] (CASSANDRA-18761) Change the logging level from WARN to INFO when invoked from "insights" thread (Spinning trying to capture readers)
[ https://issues.apache.org/jira/browse/CASSANDRA-18761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17754773#comment-17754773 ]
Brandon Williams commented on CASSANDRA-18761:
----------------------------------------------
bq. Since the warning message is from the "insights" thread rather than the "compaction" thread, the message is considered harmless.
The problem is when the message is encountered outside of insights, it needs to be at WARN since that is a concern.
> Change the logging level from WARN to INFO when invoked from "insights" thread (Spinning trying to capture readers)
> -------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-18761
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18761
> Project: Cassandra
> Issue Type: Bug
> Reporter: BHARATH KUMAR
> Priority: Normal
>
> 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'),
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org