About TaskID in ray

I see ray’s source code and find a core worker generate a taskID randomly, but this can’t enssure the generated TaskID is unique, so if this will may lead to wrong behavior? `

I think the task ID’s random bytes are long enough that it is extremely rare there’s an issue although it is assigned randomly (24B). I’ve never seen this conflict in the cluster. For more details regarding task specification, see ray/id_specification.md at master · ray-project/ray · GitHub

Ok! Thanks for your reply!