Skip to content

#8888: Fix Logstash::Util.deep_clone for Timestamp - #9405

Closed
original-brownbear wants to merge 1 commit into
elastic:masterfrom
original-brownbear:8888-2018
Closed

original-brownbear wants to merge 1 commit into
elastic:masterfrom
original-brownbear:8888-2018

Conversation

@original-brownbear

Copy link
Copy Markdown
Contributor

Fixes #8888 by using cloning instead of marshaling for the timestamp since the Java field in the timestamp doesn't get correctly marshaled.

@jsvd jsvd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@original-brownbear

Copy link
Copy Markdown
Contributor Author

@jsvd thanks!

@elasticsearch-bot

Copy link
Copy Markdown

Armin Braun merged this into the following branches!

Branch Commits
master 7a861f2
6.x 2027313

elasticsearch-bot pushed a commit that referenced this pull request Apr 19, 2018
@original-brownbear
original-brownbear deleted the 8888-2018 branch April 19, 2018 16:27
@original-brownbear

Copy link
Copy Markdown
Contributor Author

@andrewvc this one is pretty nasty (see the related issue, it e.g. prevents copying the timestamp field with mutate). Maybe backport this to 6.2?

@andrewvc

Copy link
Copy Markdown
Contributor

Hmmm, I think it's fine to backport this to 6.2. Realistically, however, I think this will be in 6.3.0 since we missed the 6.2.4 train.

@andrewvc

Copy link
Copy Markdown
Contributor

This looks like its used in three places, mutate, jdbc_static, and jdbc_streaming) https://github.com/search?q=org%3Alogstash-plugins+deep_clone&type=Code

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.

4 participants