Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mon/LogMonitor: separate out summary by channel
Instead of keeping the last N entries, keep the last N entries for each channel. This ensures that lots of audit records don't age out the cluster records (or vice versa). The overall approach does not change, and that approach is overall pretty lame. We're still rewriting a big summary blob on every log commit. We still should refactor this later. This solves the immediate problem at a small cost of increasing the log summary structure by ~2x. Signed-off-by: Sage Weil <sage@redhat.com>
- Loading branch information
Showing
3 changed files
with
120 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters