Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redis: implement XADD stream support - v3 #12003

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

satta
Copy link
Contributor

@satta satta commented Oct 21, 2024

Previous PR: #11992

Link to ticket: https://redmine.openinfosecfoundation.org/issues/7082

Describe changes to previous PR:

  • Use default for redis.stream-maxlen of 100K where previously the default was not to trim on add at all. This unbounded behaviour now needs to be explicitly enabled by setting the maxlen to 0.
  • Use false/true in suricata.yaml for redis.stream-trim-exact.
  • Simplify code.

Copy link

codecov bot commented Oct 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.21%. Comparing base (55b922c) to head (cc3ee93).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12003      +/-   ##
==========================================
+ Coverage   82.75%   83.21%   +0.46%     
==========================================
  Files         910      910              
  Lines      249016   258182    +9166     
==========================================
+ Hits       206069   214856    +8787     
- Misses      42947    43326     +379     
Flag Coverage Δ
fuzzcorpus 61.39% <ø> (+0.58%) ⬆️
livemode 19.40% <ø> (+0.69%) ⬆️
pcap 44.41% <ø> (+0.28%) ⬆️
suricata-verify 62.75% <ø> (+0.46%) ⬆️
unittests 59.28% <ø> (+0.27%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant