Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-9436

Compute task may cause a deadlock on node stop.

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Task that is waiting for async compute call result on reduce may lead to deadlock on node stop.

      This task will hold GridTaskProcessor.readlock and waits for remote call result on future.
      At that time node stopping thread will try to acquire GridTaskProcessor.writeLock.
      GridTaskProcessor job message listener will try to acquire GridTaskProcessor.readLock with no success.

      So, grid can't be stopped as there is a task on fly, but remote call result also can't be delivered to task.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            amashenkov Andrey Mashenkov

            Dates

              Created:
              Updated:

              Slack

                Issue deployment