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

Checkpoint thread hangs on await async task completion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 2.7
    • persistence
    • None

    Description

      In some cases, we can reset (IgniteTaskTrackingThreadPoolExecutor#reset) counters for checkpoint thread pool during execution async task, and then we can get hangs on await

      [19:36:01] :	 [Step 4/5] [2018-10-15 16:36:01,435][INFO ][db-checkpoint-thread-#21691%db.IgnitePdsPageEvictionDuringPartitionClearTest0%][GridCacheDatabaseSharedManager] Await checkpoint pool tasks comleted, pendingTaskCnt=2, completedTaskCnt=3, initialized=true, err=null, activeCnt=0
      [19:36:03] :	 [Step 4/5] [2018-10-15 16:36:03,435][INFO ][db-checkpoint-thread-#21691%db.IgnitePdsPageEvictionDuringPartitionClearTest0%][GridCacheDatabaseSharedManager] Await checkpoint pool tasks comleted, pendingTaskCnt=2, completedTaskCnt=3, initialized=true, err=null, activeCnt=0
      [19:36:05] :	 [Step 4/5] [2018-10-15 16:36:05,436][INFO ][db-checkpoint-thread-#21691%db.IgnitePdsPageEvictionDuringPartitionClearTest0%][GridCacheDatabaseSharedManager] Await checkpoint pool tasks comleted, pendingTaskCnt=2, completedTaskCnt=3, initialized=true, err=null, activeCnt=0
      [19:36:07] :	 [Step 4/5] [2018-10-15 16:36:07,436][INFO ][db-checkpoint-thread-#21691%db.IgnitePdsPageEvictionDuringPartitionClearTest0%][GridCacheDatabaseSharedManager] Await checkpoint pool tasks comleted, pendingTaskCnt=2, completedTaskCnt=3, initialized=true, err=null, activeCnt=0
      [19:36:09] :	 [Step 4/5] [2018-10-15 16:36:09,437][INFO ][db-checkpoint-thread-#21691%db.IgnitePdsPageEvictionDuringPartitionClearTest0%][GridCacheDatabaseSharedManager] Await checkpoint pool tasks comleted, pendingTaskCnt=2, completedTaskCnt=3, initialized=true, err=null, activeCnt=0
      [19:36:11] :	 [Step 4/5] [2018-10-15 16:36:11,437][INFO ][db-checkpoint-thread-#21691%db.IgnitePdsPageEvictionDuringPartitionClearTest0%][GridCacheDatabaseSharedManager] Await checkpoint pool tasks comleted, pendingTaskCnt=2, completedTaskCnt=3, initialized=true, err=null, activeCnt=0
      [19:36:13] :	 [Step 4/5] [2018-10-15 16:36:13,438][INFO ][db-checkpoint-thread-#21691%db.IgnitePdsPageEvictionDuringPartitionClearTest0%][GridCacheDatabaseSharedManager] Await checkpoint pool tasks comleted, pendingTaskCnt=2, completedTaskCnt=3, initialized=true, err=null, activeCnt=0
      [19:36:15] :	 [Step 4/5] [2018-10-15 16:36:15,439][INFO ][db-checkpoint-thread-#21691%db.IgnitePdsPageEvictionDuringPartitionClearTest0%][GridCacheDatabaseSharedManager] Await checkpoint pool tasks comleted, pendingTaskCnt=2, completedTaskCnt=3, initialized=true, err=null, activeCnt=0
      [19:36:17] :	 [Step 4/5] [2018-10-15 16:36:17,440][INFO ][db-checkpoint-thread-#21691%db.IgnitePdsPageEvictionDuringPartitionClearTest0%][GridCacheDatabaseSharedManager] Await checkpoint pool tasks comleted, pendingTaskCnt=2, completedTaskCnt=3, initialized=true, err=null, activeCnt=0
      [19:36:19] :	 [Step 4/5] [2018-10-15 16:36:19,441][INFO ][db-checkpoint-thread-#21691%db.IgnitePdsPageEvictionDuringPartitionClearTest0%][GridCacheDatabaseSharedManager] Await checkpoint pool tasks comleted, pendingTaskCnt=2, completedTaskCnt=3, initialized=true, err=null, activeCnt=0
      [19:36:21] :	 [Step 4/5] [2018-10-15 16:36:21,442][INFO ][db-checkpoint-thread-#21691%db.IgnitePdsPageEvictionDuringPartitionClearTest0%][GridCacheDatabaseSharedManager] Await checkpoint pool tasks comleted, pendingTaskCnt=2, completedTaskCnt=3, initialized=true, err=null, activeCnt=0
      
      

      Attachments

        Activity

          People

            DmitriyGovorukhin Dmitriy Govorukhin
            DmitriyGovorukhin Dmitriy Govorukhin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: