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

Ignite TC Bot commented on IGNITE-13775:
----------------------------------------

{panel:title=Branch: [pull/8516/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/8516/head] Base: [master] : New Tests 
(1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Basic 3{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=5767945]]
* {color:#013220}IgniteBasicWithPersistenceTestSuite: 
CheckpointReadLockFailureTest.testWriteLockedByCurrentThread - PASSED{color}

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5767040&buildTypeId=IgniteTests24Java8_RunAll]

> U.ReentrantReadWriteLockTracer improper realization.
> ----------------------------------------------------
>
>                 Key: IGNITE-13775
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13775
>             Project: Ignite
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 2.9
>            Reporter: Stanilovsky Evgeny
>            Assignee: Stanilovsky Evgeny
>            Priority: Major
>         Attachments: image-2020-12-01-13-51-39-048.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> ReentrantReadWriteLockTracer accepts ReentrantReadWriteLock as a delegate and 
> stores delegates for readLock and writeLock. But 
> ReentrantReadWriteLock#isWriteLockedByCurrentThread uses sync object to 
> evaluate the result instead of writeLock, and ReentrantReadWriteLockTracer 
> has it's own sync object.
> As a result, if ReentrantReadWriteLockTracer is used to create checkpoint 
> lock (when IGNITE_PDS_LOG_CP_READ_LOCK_HOLDERS=true), 
> GridCacheDatabaseSharedManager#checkpointLockIsHeldByThread doesn't work 
> correctly: it returns false when checkpoint lock is acquired.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to