Skip to content

Conversation

@benwtrent
Copy link
Member

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.
backport of: #40701
closes #40368

* [ML] Fixing test

* adjusting line lengths

* marking valid seqno as final
@benwtrent benwtrent added >test Issues or PRs that are addressing/adding tests backport v7.2.0 :ml/Transform Transform labels Apr 2, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core

@benwtrent benwtrent merged commit 4842d7f into elastic:7.x Apr 2, 2019
@benwtrent benwtrent deleted the fix/address-test-failure-40368-7.x branch April 2, 2019 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :ml/Transform Transform >test Issues or PRs that are addressing/adding tests v7.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants