Skip to content

Conversation

leonardo-albertovich
Copy link
Contributor

This PR tweaks the log event decoder logic to ensure that regardless of if the client code chose to receive meta records or not regular records always contain the appropriate group metadata fields to improve the code update process.

When a single event was read and the unpacked record data was copied to
the unpacked group record structure it would cause a double free when
destroying the decoder.

To handle this we need to ensure that the zone pointers in those
instances do not match or otherwise re-initialize one to avoid
performing the spurious free.

Signed-off-by: Leonardo Alminana <[email protected]>
@edsiper edsiper merged commit 5119644 into master Mar 31, 2025
46 of 49 checks passed
@edsiper edsiper deleted the leonardo-master-log_event_decoder_group_metadata_improvement branch March 31, 2025 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants