Github user fjh100456 commented on the issue: https://github.com/apache/spark/pull/17923 The description of @pwendell 's jira looks as if it only because the number of tasks completed will exceed the total number of tasks. But I think this excess can remind the user that the "speculative" has been triggered, and users like me may check to be a host running problem or a data problem or other problem. The excess can be more convenient for me to discover speculative tasks and find them. So I prefer to allow the "excess". I have checked the code, and "completedIndices" is used only for calculating the number of tasks, and no other place to use. If this is ok, I will remove "completedIndices".
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org