[
https://issues.apache.org/jira/browse/KUDU-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon resolved KUDU-77.
-----------------------------
Resolution: Fixed
Fix Version/s: 0.7.0
6d1ee0f78964755870cd8768a18d4d726bbc2e69 did this
> Add utility code for throttled logging
> --------------------------------------
>
> Key: KUDU-77
> URL: https://issues.apache.org/jira/browse/KUDU-77
> Project: Kudu
> Issue Type: Improvement
> Components: supportability, util
> Affects Versions: M4
> Reporter: Todd Lipcon
> Priority: Minor
> Fix For: 0.7.0
>
> Attachments: test.cc
>
>
> We have a few places where we'd probably want to log, but are afraid of
> potential log spew situations. For example, when RPC queues overflow, adding
> a log message on every RPC may be too expensive. We should add a throttled
> logger utility that will consolidate repeated messages and be constrained to
> actually outputting once every second.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)