Skip to content

Conversation

Yukei7
Copy link
Contributor

@Yukei7 Yukei7 commented Oct 17, 2025

GCInspector should use different thresholds on GC events

patch by Yuqi Yan; reviewed by TBD for CASSANDRA-20980

The Cassandra Jira

# Min unit: ms
# gc_warn_threshold: 1000ms

# GC Concurrent phase greater than 200 ms will be logged at INFO level
Copy link
Contributor

@netudima netudima Oct 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the value (200) in the description does not match the value in the commented value lower (1000)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated - thanks for catching this!

StatusLogger.log();
if (isConcurrentPhase(info.getGcCause(), info.getGcName()))
{
if (getGcWarnThresholdInMs() != 0 && duration > getGcWarnThresholdInMs())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it is a concurrent phase = true branch why do we use non-concurrent thresholds here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated - thanks for catching this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants