Skip to content

Conversation

@prwhelan
Copy link
Member

Pass the ProjectId from PersistentTaskClusterService through to all PersistentTasksExecutors when creating node assignments.

These PersistentTasksExecutors require the ProjectId during node assignment:

  • OpenJobPersistentTasksExecutor
  • SnapshotUpgradeTaskExecutor
  • StartDatafeedPersistentTasksExecutor
  • TransformPersistentTasksExecutor

Implemented TransformPersistentTasksExecutor's getAssignment using the ProjectId by reading the TransformMetadata and RoutingTable from the ProjectMetadata.

Pass the ProjectId from PersistentTaskClusterService through to all
PersistentTasksExecutors when creating node assignments.

These PersistentTasksExecutors require the ProjectId during node
assignment:
- OpenJobPersistentTasksExecutor
- SnapshotUpgradeTaskExecutor
- StartDatafeedPersistentTasksExecutor
- TransformPersistentTasksExecutor

Implemented TransformPersistentTasksExecutor's getAssignment using the
ProjectId by reading the TransformMetadata and RoutingTable from the
ProjectMetadata.
@prwhelan prwhelan added >refactoring :ml/Transform Transform Team:ML Meta label for the ML team v9.2.0 labels Jun 25, 2025
@prwhelan prwhelan closed this Jun 27, 2025
@prwhelan prwhelan deleted the mp/1 branch June 27, 2025 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:ml/Transform Transform >refactoring Team:ML Meta label for the ML team v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant