Skip to content

Fix broken identity map flush test#303

Open
robbavey wants to merge 1 commit intologstash-plugins:mainfrom
robbavey:file_input_spec
Open

Fix broken identity map flush test#303
robbavey wants to merge 1 commit intologstash-plugins:mainfrom
robbavey:file_input_spec

Conversation

@robbavey
Copy link
Copy Markdown
Member

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