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

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

{panel:title=--> Run :: All: Possible 
Blockers|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}JDBC Driver{color} [[tests 0 TIMEOUT , Exit Code 
|https://ci.ignite.apache.org/viewLog.html?buildId=3698687]]

{color:#d04437}Platform .NET (Core Linux){color} [[tests 0 Exit Code 
|https://ci.ignite.apache.org/viewLog.html?buildId=3711041]]

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

> Suspended optimistic transaction automatically resumes to last thread after a 
> timeout.
> --------------------------------------------------------------------------------------
>
>                 Key: IGNITE-11697
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11697
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.7
>            Reporter: Aleksey Plekhanov
>            Assignee: Aleksey Plekhanov
>            Priority: Major
>              Labels: iep-34
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> This leads to unpredictable results from a user's point of view.
> Reproducer:
>  
> {code:java}
> public class IgniteTxSuspendAndTimeoutTest extends GridCommonAbstractTest {
>     @Test
>     public void testSuspendAndTimeout() throws Exception {
>         Ignite ignite = startGrid(0);
>         IgniteCache cache = ignite.createCache(new 
> CacheConfiguration<>().setName("c").setAtomicityMode(TRANSACTIONAL));
>         Transaction tx1 = ignite.transactions().txStart(OPTIMISTIC, 
> TransactionIsolation.REPEATABLE_READ, 100, 0);
>         cache.put(1, 1);
>         tx1.suspend();
>         assertNull(cache.get(1)); // Pass here.
>         doSleep(200);
>         assertNull(cache.get(1)); // Fail here. But we don't expect any 
> explicitly running transaction at this point.
>     }
> }
> {code}
>  
>  



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

Reply via email to