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

Fix broken identity map flush test #303

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

robbavey
Copy link
Contributor

Following logstash-plugins/logstash-codec-multiline#70,
clones of the codec are used, rather than the original codec, causing the codec
tracer not to be able to trace events that occurred after the clone. This
commit removes the physical clone on the CodecTracer, rather treating it as another
function to be traced, returning the same Tracer instance, but adding a clone event
instead.

Following logstash-plugins/logstash-codec-multiline#70,
clones of the codec are used, rather than the original codec, causing the codec
tracer not to be able to trace events that occurred after the clone. This
commit removes the physical clone on the CodecTracer, rather treating it as another
function to be traced, returning the same Tracer instance, but adding a clone event
instead.
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