Duplicate task handle in ray

How severe does this issue affect your experience of using Ray?

  • Low: It annoys or frustrates me for a moment.

how does ray handle duplicate task? Will the duplicated task cause crash or mess up the final results?

@Allie_Yang

Tasks are unique and is an invariant of the system, there should be at most one instance of a task running. If that is inconsistent with your experience, please let us know and will investigate

what if two same tasks are submitted, from point of ray they are different, but from developer’s view, they are the same, would it cause data corruption if the task has data modification?

can you show me an example code that demonstrates the scenario?