[ 
https://issues.apache.org/jira/browse/CASSANDRA-11552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15274532#comment-15274532
 ] 

Benedict commented on CASSANDRA-11552:
--------------------------------------

FTR, it's kind of meant to do that to bring attention to wherever the bug 
causing the long wait is.  It's a pretty major bug if that code spins for even 
a few milliseconds, as it's used widely and slow downs snarl the whole system 
up.

> Reduce amount of logging calls from ColumnFamilyStore.selectAndReference
> ------------------------------------------------------------------------
>
>                 Key: CASSANDRA-11552
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11552
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>             Fix For: 2.1.15, 2.2.7, 3.7, 3.0.7
>
>
> {{org.apache.cassandra.db.ColumnFamilyStore#selectAndReference}} logs two 
> messages at _info_ level "as fast as it can" if it waits for more than 100ms.
> The following code is executed in a while-true fashion in this case:
> {code}
>                 logger.info("Spinning trying to capture released readers {}", 
> released);
>                 logger.info("Spinning trying to capture all readers {}", 
> view.sstables);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to