-
Notifications
You must be signed in to change notification settings - Fork 5k
x-pack/libbeat/common/cloudfoundry: Use xxhash instead of SHA1 #43964
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
Conversation
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it ends up being just a variation of the same question asked by @kruskall: what happens if someone upgrades Beats to the FIPS version? Is this upgrade even supported?
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
AFAIK it's a complete separate offering. So, switching from one mode to another, it is not even allowed. @kruskall can confirm in case if I am wrong here. |
I am thinking to merge it today/ tomorrow; could I please get approval if everything looks good? |
@faec Could you please review this PR again? I am planning to merge it today if there are no further comments. |
@shmsr Fae will be out until tomorrow so she won't be able to review it once again today. |
ah, ok. Then can someone else take a look? I just want to get it reviewed before everyone leaves for EAH. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, however I'm missing a changelog entry stating that upgrading to this version will cause the cache invalidation once.
@shmsr, do you have an idea (or is it possible to measure) what would be the performance impact upon upgrade?
I don't know much about this input, but invalidating the whole cache is similar to a cold start, so my understanding is that the performance impact would not cause problems, however it would be nice to confirm that.
I will add an entry.
From the code, it looks like it's being used for an inexpensive op. I checked the usage of methods of the cache, and it was being used to get CF app info (
Yes. |
@elastic/ingest-docs Can I get a review on this? Added a CL entry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, LGTM!
(cherry picked from commit 367b201) # Conflicts: # docs/release-notes/index.md
…h instead of SHA1 (#44621) * x-pack/libbeat/common/cloudfoundry: Use xxhash instead of SHA1 (#43964) (cherry picked from commit 367b201) # Conflicts: # docs/release-notes/index.md * Fix CL entry; move from *.md to *.asciidoc --------- Co-authored-by: subham sarkar <[email protected]>
Proposed commit message
Drop usage of
SHA1
and replace with a better algorithmxxhash
for sanitizing the filenames.Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.