You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ariel Weisberg (JIRA)" <ji...@apache.org> on 2015/11/23 22:48:11 UTC
[jira] [Updated] (CASSANDRA-8584) Add rate limited logging of
failed trySkipCache calls and commit log lag
[ https://issues.apache.org/jira/browse/CASSANDRA-8584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ariel Weisberg updated CASSANDRA-8584:
--------------------------------------
Component/s: Observability
Local Write-Read Paths
> Add rate limited logging of failed trySkipCache calls and commit log lag
> ------------------------------------------------------------------------
>
> Key: CASSANDRA-8584
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8584
> Project: Cassandra
> Issue Type: Improvement
> Components: Local Write-Read Paths, Observability
> Reporter: Joshua McKenzie
> Assignee: Ariel Weisberg
> Priority: Trivial
> Fix For: 3.0 alpha 1
>
> Attachments: 8584_v1.txt, NoSpamLogger.java, nospamlogger.txt
>
>
> Since trySkipCache returns an errno rather than -1 and setting errno like our other CLibrary calls, it's thread-safe and we could print out more helpful information if we failed to prompt the kernel to skip the page cache. That system call should always succeed unless we have an invalid fd as it's free to ignore us.
> Commit log lag is already rate limited by its own implementation. Convert to use NoSpamLogger.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)