Skip to content

Reindex negative TimeValue fix (#54057)#54133

Merged
henningandersen merged 1 commit intoelastic:6.8from
henningandersen:fix_reindex_negative_timevalue_6_8
Mar 25, 2020
Merged

Reindex negative TimeValue fix (#54057)#54133
henningandersen merged 1 commit intoelastic:6.8from
henningandersen:fix_reindex_negative_timevalue_6_8

Conversation

@henningandersen
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants