[
https://issues.apache.org/jira/browse/IGNITE-9898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16651451#comment-16651451
]
ASF GitHub Bot commented on IGNITE-9898:
----------------------------------------
GitHub user dgovorukhin opened a pull request:
https://github.com/apache/ignite/pull/5002
IGNITE-9898 fix checkpoint thread hangs on await async task completion
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-9898
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/5002.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5002
----
commit 7719b0bdbc405fa462230b0758e87356ce3615fe
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-10-16T10:18:39Z
IGNITE-9898 fix checkpoint thread hangs on await async task completion
Signed-off-by: Dmitriy Govorukhin <[email protected]>
----
> 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
> Reporter: Dmitriy Govorukhin
> Assignee: Dmitriy Govorukhin
> Priority: Blocker
> Fix For: 2.7
>
>
> In some cases, we can reset thread pool counters 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)