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

Reindex negative TimeValue fix (#54057) #54133

Conversation

henningandersen
Copy link
Contributor

Reindex would use timeValueNanos(System.nanoTime()). The intended use
for TimeValue is as a duration, not as absolute time. In particular,
this could result in negative TimeValue's, being unsupported in #53913.
Modified to use the bare long nano-second value.

Reindex would use timeValueNanos(System.nanoTime()). The intended use
for TimeValue is as a duration, not as absolute time. In particular,
this could result in negative TimeValue's, being unsupported in elastic#53913.
Modified to use the bare long nano-second value.
@henningandersen henningandersen added backport :Distributed/Reindex Issues relating to reindex that are not caused by issues further down v6.8.9 labels Mar 24, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Reindex)

@henningandersen henningandersen merged commit 4b0e231 into elastic:6.8 Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Distributed/Reindex Issues relating to reindex that are not caused by issues further down v6.8.9
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants