suricata
suricata copied to clipboard
Threshold cache/v11
Reimplement threshold storage and add a thread local cache, both to reduce lock contention.
https://redmine.openinfosecfoundation.org/issues/426 https://redmine.openinfosecfoundation.org/issues/6967
Replaces https://github.com/OISF/suricata/pull/11026:
- adds config opts
- doc for config opts
- address review comments
Review in isolation, no relation other thresholding PRs.
Codecov Report
Attention: Patch coverage is 87.71930% with 56 lines in your changes are missing coverage. Please review.
Project coverage is 83.64%. Comparing base (
806052d) to head (0ac580b).
Additional details and impacted files
@@ Coverage Diff @@
## master #11077 +/- ##
==========================================
+ Coverage 83.63% 83.64% +0.01%
==========================================
Files 922 922
Lines 250375 250403 +28
==========================================
+ Hits 209399 209455 +56
+ Misses 40976 40948 -28
| Flag | Coverage Δ | |
|---|---|---|
| fuzzcorpus | 64.20% <25.26%> (-0.02%) |
:arrow_down: |
| livemode | 18.54% <12.63%> (+0.13%) |
:arrow_up: |
| suricata-verify | 62.74% <50.00%> (-0.05%) |
:arrow_down: |
| unittests | 62.35% <78.94%> (+0.09%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
Information:
ERROR: QA failed on SURI_TLPR1_suri_time.
| field | baseline | test | % |
|---|---|---|---|
| SURI_TLPR1_stats_chk | |||
| .uptime | 645 | 672 | 104.19% |
Pipeline 20648
Replaced by #11171