Skip to content

Conversation

@benwtrent
Copy link
Member

@benwtrent benwtrent commented Apr 1, 2019

Turns out the seqNoStats variable was being overridden by the "invalid" seqNoStats variable. Consequently, if the first replica was "invalid" all the following would be two, so they would be consistently "invalid" and thus seen as "valid".

Changing the code so that the valid stats are not overridden by the invalid ones.

closes #40368

@benwtrent benwtrent added >test Issues or PRs that are addressing/adding tests v8.0.0 v7.2.0 :ml/Transform Transform labels Apr 1, 2019
@benwtrent benwtrent requested a review from hendrikmuhs April 1, 2019 18:28
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core

@benwtrent benwtrent force-pushed the fix/address-test-failure-40368 branch from 70bc21f to 9a61c46 Compare April 1, 2019 19:52
Copy link

@hendrikmuhs hendrikmuhs left a comment

Choose a reason for hiding this comment

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

LGTM

@benwtrent benwtrent merged commit 31dbd15 into elastic:master Apr 2, 2019
@benwtrent benwtrent deleted the fix/address-test-failure-40368 branch April 2, 2019 12:09
benwtrent added a commit to benwtrent/elasticsearch that referenced this pull request Apr 2, 2019
* [ML] Fixing test

* adjusting line lengths

* marking valid seqno as final
benwtrent added a commit that referenced this pull request Apr 2, 2019
* [ML] Fixing test

* adjusting line lengths

* marking valid seqno as final
gurkankaymak pushed a commit to gurkankaymak/elasticsearch that referenced this pull request May 27, 2019
* [ML] Fixing test

* adjusting line lengths

* marking valid seqno as final
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:ml/Transform Transform >test Issues or PRs that are addressing/adding tests v7.2.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ML] DataFrameTransformsCheckpointServiceTests.testExtractIndexCheckpointsInconsistentGlobalCheckpoints fails reproducibly

4 participants