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

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

Closed

Conversation

original-brownbear
Copy link
Member

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

Copy link
Member

@jsvd jsvd left a comment

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
Member Author

@jsvd thanks!

@elasticsearch-bot
Copy link

Armin Braun merged this into the following branches!

Branch Commits
master 7a861f2
6.x 2027313

@original-brownbear
Copy link
Member 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
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
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.

None yet

4 participants