Skip to content

Conversation

@Nikita-Shupletsov
Copy link
Contributor

  • Improved error handling in DefaultStateUpdater to take potential failures in Task#maybeCheckpoint into account.
  • Improved TaskManager#shutdownStateUpdater to not hang indefinitely if the State Updater thread is dead.

@github-actions github-actions bot added triage PRs from the community streams labels Oct 24, 2025
return new TaskAndAction(null, taskId, Action.REMOVE, future);
}

public static TaskAndAction createRemoveTask(final TaskId taskId) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the non future remove task isn't used anywhere anymore, so I deleted the code that handled it.
also it made the proposed solution a bit tidier

final Task task;
if (updatingTasks.containsKey(taskId)) {
task = updatingTasks.get(taskId);
private void pauseTask(final Task task) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

here it s basically the old pauseTask method wrapped in a try-catch. idk why git decided to show such a strange diff.
the removeTask method was simply deleted

@github-actions github-actions bot removed the triage PRs from the community label Oct 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant