Skip to content

Conversation

giorio94
Copy link
Member

The debug message in the [UpsertKey] function used to pass the entire key object as logfield, possibly leading to a very verbose and/or fairly useless output (especially when the value is a byte slice). Let's get this fixed by only passing the key name (i.e., part of the key in etcd) as logfield, similarly to what already done in the other functions. And likewise for the error message in the same function, even though never expected to be triggered.

@giorio94 giorio94 requested a review from a team as a code owner August 14, 2025 09:27
@giorio94 giorio94 requested a review from aanm August 14, 2025 09:27
@giorio94 giorio94 added release-note/misc This PR makes changes that have no direct user impact. area/kvstore Impacts the KVStore package interactions. needs-backport/1.18 This PR / issue needs backporting to the v1.18 branch labels Aug 14, 2025
@giorio94
Copy link
Member Author

/test

@giorio94 giorio94 enabled auto-merge August 14, 2025 09:27
The debug message in the [UpsertKey] function used to pass the entire
key object as logfield, possibly leading to a very verbose and/or
fairly useless output (especially when the value is a byte slice).
Let's get this fixed by only passing the key name (i.e., part of
the key in etcd) as logfield, similarly to what already done in
the other functions. And likewise for the error message in the same
function, even though never expected to be triggered.

Signed-off-by: Marco Iorio <marco.iorio@isovalent.com>
@giorio94 giorio94 force-pushed the mio/syncstore-fix-debug-log branch from 5ef8fba to 0d3f1bf Compare August 18, 2025 08:21
@giorio94
Copy link
Member Author

Rebased onto main, let's see if CI is happier.

@giorio94
Copy link
Member Author

/test

@giorio94 giorio94 added this pull request to the merge queue Aug 18, 2025
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Aug 18, 2025
Merged via the queue into cilium:main with commit 84c4210 Aug 18, 2025
68 checks passed
@giorio94 giorio94 deleted the mio/syncstore-fix-debug-log branch August 18, 2025 14:20
@joamaki joamaki mentioned this pull request Aug 19, 2025
19 tasks
@joamaki joamaki added backport-pending/1.18 The backport for Cilium 1.18.x for this PR is in progress. and removed needs-backport/1.18 This PR / issue needs backporting to the v1.18 branch labels Aug 19, 2025
@github-actions github-actions bot added backport-done/1.18 The backport for Cilium 1.18.x for this PR is done. and removed backport-pending/1.18 The backport for Cilium 1.18.x for this PR is in progress. labels Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kvstore Impacts the KVStore package interactions. backport-done/1.18 The backport for Cilium 1.18.x for this PR is done. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants