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

[Transform] transform jobs on nodes < 7.4.0 mixed with nodes > 7.4 might fail #48019

Closed
hendrikmuhs opened this issue Oct 14, 2019 · 1 comment

Comments

@hendrikmuhs
Copy link
Contributor

hendrikmuhs commented Oct 14, 2019

Nodes in all versions of 7.2 and 7.3 might not see transform documents created in 7.4, 7.5 ...

Only after the switch to a versioned index in #45375 (7.4.0) retrieval uses a search pattern to read back documents (config, checkpoint, state). This allows to retrieve jobs even if the cluster is partially upgraded. But if nodes are on version 7.3 and 7.4 the hardcoded index name those documents might not be retrievable.

Long story short: Mixed version clusters with nodes <7.4 together with nodes >=7.4 do not work reliable.

Solution:

  • disable node allocation if any node < 7.4. This will prevent placing jobs on mixed clusters until the upgrade has completed
  • document as known limitation: transforms do not execute during a rolling upgrade from 7.2/7.3 to 7.x
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml/Transform)

hendrikmuhs pushed a commit that referenced this issue Oct 15, 2019
…8055)

disable task assignment of transforms if any node uses version 7.2 or 7.2 (mixed cluster).

fixes #48019
hendrikmuhs pushed a commit to hendrikmuhs/elasticsearch that referenced this issue Oct 16, 2019
disable task assignment of transforms if any node uses version 7.2 or 7.3 (mixed cluster).

fixes elastic#48019
hendrikmuhs pushed a commit that referenced this issue Oct 17, 2019
disable task assignment of transforms if any node uses version 7.2 or 7.3 (mixed cluster).

fixes #48019
hendrikmuhs pushed a commit that referenced this issue Oct 19, 2019
… testing (#48239)

remove mixed cluster tests that test transform BWC due to #48019: upgrade of 7.2/3 to 7.4 suspends re-assignment of transforms and retrieval of transforms and transform stats is not reliable in mixed clusters.

fixes #48236
hendrikmuhs pushed a commit that referenced this issue Oct 21, 2019
blacklist transform tests in mixed cluster prior 7.4, see #48019

fixes #47943
hendrikmuhs pushed a commit that referenced this issue Oct 21, 2019
blacklist transform tests in mixed cluster prior 7.4, see #48019

fixes #47943
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants