[
https://issues.apache.org/jira/browse/IGNITE-23591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17895966#comment-17895966
]
Ignite TC Bot commented on IGNITE-23591:
----------------------------------------
{panel:title=Branch: [pull/11641/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/11641/head] Base: [master] : New Tests
(8)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Cache 10{color} [[tests
8|https://ci2.ignite.apache.org/viewLog.html?buildId=8149527]]
* {color:#013220}IgniteCacheTestSuite10:
ConcurrentCheckpointAndUpdateTtlTest.concurrentUpdateTouchCheckpointKey[dataStreamer=false,
touchQuery=true, cacheMode=TRANSACTIONAL] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite10:
ConcurrentCheckpointAndUpdateTtlTest.concurrentUpdateTouchCheckpointKey[dataStreamer=true,
touchQuery=false, cacheMode=TRANSACTIONAL] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite10:
ConcurrentCheckpointAndUpdateTtlTest.concurrentUpdateTouchCheckpointKey[dataStreamer=true,
touchQuery=true, cacheMode=TRANSACTIONAL] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite10:
ConcurrentCheckpointAndUpdateTtlTest.concurrentUpdateTouchCheckpointKey[dataStreamer=false,
touchQuery=true, cacheMode=ATOMIC] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite10:
ConcurrentCheckpointAndUpdateTtlTest.concurrentUpdateTouchCheckpointKey[dataStreamer=true,
touchQuery=false, cacheMode=ATOMIC] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite10:
ConcurrentCheckpointAndUpdateTtlTest.concurrentUpdateTouchCheckpointKey[dataStreamer=true,
touchQuery=true, cacheMode=ATOMIC] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite10:
ConcurrentCheckpointAndUpdateTtlTest.concurrentUpdateTouchCheckpointKey[dataStreamer=false,
touchQuery=false, cacheMode=TRANSACTIONAL] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite10:
ConcurrentCheckpointAndUpdateTtlTest.concurrentUpdateTouchCheckpointKey[dataStreamer=false,
touchQuery=false, cacheMode=ATOMIC] - PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=8148386&buildTypeId=IgniteTests24Java8_RunAll]
> Deadlock between threads concurrently update ttl and values
> -----------------------------------------------------------
>
> Key: IGNITE-23591
> URL: https://issues.apache.org/jira/browse/IGNITE-23591
> Project: Ignite
> Issue Type: Bug
> Reporter: Maksim Timonin
> Assignee: Maksim Timonin
> Priority: Major
> Labels: ise
> Fix For: 2.17
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> There is a deadlock in case concurrent load: ScanQuery and DataStreamer with
> expiry logic based on access time.
> # data-streamer-stripe acquires locks in order: checkpoint read lock, entry
> lock
> # sys-stripe and query threads (update ttl) acquire locks in different
> order: entry lock, checkpoint read lock
> # concurrent db-checkpoint-thread acquire checkpoint write lock, and it
> might be done in the moment between threads (2) acquire entry and checkpoint
> lock.
>
> data-streamer awaits sys-stripe,
> sys-stripe awaits db-checkpoint-thread,
> db-checkpoint-threads awaits data-streamer
>
> Order of locking should be same in all threads.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)