Skip to content

Fix TranslogTests#testStats#66227

Merged
dnhatn merged 1 commit intoelastic:masterfrom
dnhatn:fix-translog-stats
Dec 13, 2020
Merged

Fix TranslogTests#testStats#66227
dnhatn merged 1 commit intoelastic:masterfrom
dnhatn:fix-translog-stats

Conversation

@dnhatn
Copy link
Copy Markdown
Member

@dnhatn dnhatn commented Dec 12, 2020

If creating the latest translog file and retrieving a translog stats happen within the same millisecond, then the earliestLastModifiedAge will be zero.

Closes #66092

@dnhatn dnhatn added >test Issues or PRs that are addressing/adding tests :Distributed/Engine Anything around managing Lucene and the Translog in an open shard. v8.0.0 v7.11.0 v6.8.14 v7.10.2 labels Dec 12, 2020
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team. label Dec 12, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Contributor

@original-brownbear original-brownbear left a comment

Choose a reason for hiding this comment

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

LGTM :)

@dnhatn
Copy link
Copy Markdown
Member Author

dnhatn commented Dec 13, 2020

Thanks Armin!

@dnhatn dnhatn merged commit 1228d97 into elastic:master Dec 13, 2020
@dnhatn dnhatn deleted the fix-translog-stats branch December 13, 2020 14:23
dnhatn added a commit that referenced this pull request Dec 13, 2020
If creating the latest translog file and retrieving a translog stats 
happen within the same millisecond, then the earliestLastModifiedAge
will be zero.

Closes #66092
dnhatn added a commit that referenced this pull request Dec 13, 2020
If creating the latest translog file and retrieving a translog stats 
happen within the same millisecond, then the earliestLastModifiedAge
will be zero.

Closes #66092
dnhatn added a commit that referenced this pull request Dec 13, 2020
If creating the latest translog file and retrieving a translog stats
happen within the same millisecond, then the earliestLastModifiedAge
will be zero.

Closes #66092
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Dec 13, 2020
* elastic/master:
  Autoscaling reactive storage decider (elastic#65520)
  Fix TranslogTests#testStats (elastic#66227)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Engine Anything around managing Lucene and the Translog in an open shard. Team:Distributed Meta label for distributed team. >test Issues or PRs that are addressing/adding tests v6.8.14 v7.10.2 v7.11.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] TranslogTests.testStats() Failure

4 participants