Skip to content

hash: Improve flb_hash_add to copy the key up to the passed key_len - #1186

Merged
edsiper merged 1 commit into
fluent:masterfrom
vlvasilev:fix-hash-add
Apr 15, 2019
Merged

edsiper merged 1 commit into
fluent:masterfrom
vlvasilev:fix-hash-add

Conversation

@vlvasilev

Copy link
Copy Markdown
Contributor

Make flb_hash_add to copy the key up to the passed key_len.

@edsiper

edsiper commented Mar 12, 2019

Copy link
Copy Markdown
Member

thanks for your contribution, in order to merge please fix the commit message, prefix it with "hash: ...", ref:

https://github.com/fluent/fluent-bit/blob/master/CONTRIBUTING.md#commit-changes

@vlvasilev

Copy link
Copy Markdown
Contributor Author

Thanks for the comment. It is done.

@vlvasilev vlvasilev changed the title Improve flb_hash_add hash: Improve flb_hash_add to copy the key up to the passed key_len Mar 14, 2019
@nigels-com

Copy link
Copy Markdown
Contributor

Looks good to me.

@edsiper
edsiper merged commit 836d973 into fluent:master Apr 15, 2019
@edsiper

edsiper commented Apr 15, 2019

Copy link
Copy Markdown
Member

thanks

erain added a commit to erain/fluent-bit that referenced this pull request Jun 29, 2026
Closes the loop on the out_stackdriver work:
- Phase A: finish the concurrency fix (remove the dead struct fields +
  resource_mutex that e17b0c3 left behind; correct the "zero races" claim).
- Phase B: audit the attribution-trust parallel that k8s-stackdriver#1186
  fixed for the event path - out_stackdriver trusts payload-supplied
  logging.googleapis.com/local_resource_id with no cross-check or
  cluster-resource fallback. Probe reachability, read parser.lua, propose
  defense-in-depth (human-gated).
- Phase C: replace the invalid single-run sanitizer metrics with honest
  >=3-replicate non-sanitizer numbers; reclassify L3 as quota-bound.
- Phase D: package three independent upstream PRs (bug fixes, concurrency
  fix, attribution hardening referencing fluent#1186).
- Phase E: final report + close assumptions.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
erain added a commit to erain/fluent-bit that referenced this pull request Jun 30, 2026
…ure)

Final plan to finish the out_stackdriver research:
- PR-A opened upstream (fluent#12022).
- E1: run the attribution reachability probe (still not done; report cites a
  missing file) to decide PR-C and whether the GKE trust_payload setting is safe.
- E2: journal honest workers=1 vs 2 perf (>=3 replicates, real BigQuery delivery,
  ODR); reclassify L3 as quota-bound.
- F1: make PR-B mergeable (revert buffer=0, split plugin/test commits, blank lines).
- F2: re-do PR-C after E1 (cluster-resource fallback per fluent#1186, not "unknown").
- Phase R: final report with two action-item sets (OSS changes, GKE config
  changes) each with measured benefit + evidence; drop the secure/max-throughput
  overclaims.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants