Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.16.0
-
None
Description
Per the current behavior, the task is marked as completed as soon as task cancellation is invoked, which interrupts the task, and immediately decrements a latch counting the number of running tasks. This implies that GobblinMultiTaskAttempt which monitors this countdown latch, can invoke task commit before the task has completed. This can lead to incorrect behavior in batch mode and potential resource leak in the streaming mode where commit failures potentially leaves some resources open.