Skip to content

[ML] Job in Index Feature: TransportJobTaskAction no longer detects unknown jobs #34747

Open
@davidkyle

Description

@davidkyle

TransportJobTaskAction checks the cluster state for the job configuration before looking for the job's persistent task. If the config cannot be found a missing jobs exception is thrown so all actions that extend TransportJobTaskAction automatically get job exists checking. With the change to move the config the job check has to be removed so in the case of an unknown job the error will be cannot perform action X as the job is not open, then of course opening the job would return the job not found error.

Discuss
Error messages are not part of the rest specification so is this considered a breaking change. Is the new behaviour acceptable or can anyone see a workaround?

The actions that extend TransportJobTaskAction and hence are affected are:

  • TransportFlushJobAction
  • TransportForecastJobAction
  • TransportPostDataAction
  • TransportUpdateProcessAction (internal)
  • TransportPersistJobAction (internal)
  • TransportKillProcessAction (internal)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions