You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexei Scherbakov (JIRA)" <ji...@apache.org> on 2018/10/22 14:03:00 UTC

[jira] [Comment Edited] (IGNITE-9898) Checkpoint thread hangs on await async task completion

    [ https://issues.apache.org/jira/browse/IGNITE-9898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16659014#comment-16659014 ] 

Alexei Scherbakov edited comment on IGNITE-9898 at 10/22/18 2:02 PM:
---------------------------------------------------------------------

New implementation creates twice more objects. In case of many caches/partitions it can produce a lot of objects and low latency is critical for reducing mark duration. Not using additional future object was by design in previous implementation.


was (Author: ascherbakov):
New implementation creates twice more objects. In case of many caches/partitions it can produce a lot of objects and low latency is critical for reducing mark duration.

> Checkpoint thread hangs on await async task completion
> ------------------------------------------------------
>
>                 Key: IGNITE-9898
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9898
>             Project: Ignite
>          Issue Type: Bug
>          Components: persistence
>            Reporter: Dmitriy Govorukhin
>            Assignee: Dmitriy Govorukhin
>            Priority: Blocker
>             Fix For: 2.7
>
>
> 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
> {code}
> [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
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)