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

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

{panel:title=Branch: [pull/8004/head] Base: [master] : Possible Blockers 
(5)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}PDS 4{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=5450402]]
* IgnitePdsTestSuite4: 
RebalanceCancellationTest.testRebalanceNoneBltNodeFailedOnMixedCluster - Test 
has low fail rate in base branch 0,0% and is not flaky

{color:#d04437}Cache 2{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=5450383]]
* IgniteCacheTestSuite2: 
GridCachePartitionedNearDisabledTxMultiThreadedSelfTest.testOptimisticSerializableCommitMultithreaded
 - Test has low fail rate in base branch 0,0% and is not flaky

{color:#d04437}Cache 1{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=5450382]]
* IgniteBinaryCacheTestSuite: 
GridCacheBalancingStoreSelfTest.testConcurrentLoad - Test has low fail rate in 
base branch 0,0% and is not flaky

{color:#d04437}Basic 1{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=5450362]]
* IgniteBasicTestSuite: 
WALRecordSerializationTest.testAllWalRecordsSerializedCompressedAndThenDeserializedSuccessfully
 - Test has low fail rate in base branch 0,0% and is not flaky

{color:#d04437}Basic 2{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=5450323]]
* IgniteComputeBasicConfigVariationsFullApiTestSuite: 
IgniteComputeConfigVariationsFullApiTest_17.testDeployExecuteByName - Test has 
low fail rate in base branch 0,0% and is not flaky

{panel}
{panel:title=Branch: [pull/8004/head] Base: [master] : New Tests 
(17)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Platform .NET (Long Running){color} [tests 3]
* {color:#013220}exe: 
CacheAbstractTransactionalTest.TestTransactionScopeWithSerializableIsolationLocksKeysOnRead
 - PASSED{color}
* {color:#013220}exe: 
CacheAbstractTransactionalTest.TestTransactionScopeWithSerializableIsolationLocksKeysOnRead
 - PASSED{color}
* {color:#013220}exe: 
CacheAbstractTransactionalTest.TestTransactionScopeWithSerializableIsolationLocksKeysOnRead
 - PASSED{color}

{color:#00008b}Platform .NET{color} [tests 3]
* {color:#013220}exe: 
CacheAbstractTransactionalTest.TestTransactionScopeWithSerializableIsolationLocksKeysOnRead
 - PASSED{color}
* {color:#013220}exe: 
OptimisticTransactionTest.TestExplicitOptimisticTransactionThrowsOptimisticExceptionOnConflict
 - PASSED{color}
* {color:#013220}exe: 
OptimisticTransactionTest.TestAmbientOptimisticTransactionThrowsOptimisticExceptionOnConflict
 - PASSED{color}

{color:#00008b}Platform .NET (Core Linux){color} [tests 3]
* {color:#013220}dll: 
CachePartitionedTest.TestTransactionScopeWithSerializableIsolationLocksKeysOnRead
 - PASSED{color}
* {color:#013220}dll: 
OptimisticTransactionTest.TestExplicitOptimisticTransactionThrowsOptimisticExceptionOnConflict
 - PASSED{color}
* {color:#013220}dll: 
OptimisticTransactionTest.TestAmbientOptimisticTransactionThrowsOptimisticExceptionOnConflict
 - PASSED{color}

{color:#00008b}Service Grid{color} [tests 4]
* {color:#013220}IgniteServiceGridTestSuite: 
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple 
[val1=DiscoveryEvent [evtNode=d4f916bd-963e-4875-b0d9-b6cd769a32b4, topVer=0, 
nodeId8=08c81af0, msg=, type=NODE_JOINED, tstamp=1594248504235], 
val2=AffinityTopologyVersion [topVer=2876465466042446570, minorTopVer=0]]] - 
PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite: 
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple 
[val1=DiscoveryEvent [evtNode=d4f916bd-963e-4875-b0d9-b6cd769a32b4, topVer=0, 
nodeId8=08c81af0, msg=, type=NODE_JOINED, tstamp=1594248504235], 
val2=AffinityTopologyVersion [topVer=2876465466042446570, minorTopVer=0]]] - 
PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite: 
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple 
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest 
[id=fa3ad903371-ec906005-587a-4dd2-be8c-91ce64d48350, reqs=SingletonList 
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent 
[evtNode=7ad4ae83-15c2-4a1f-93a5-fcb0acf73fbd, topVer=0, nodeId8=7ad4ae83, 
msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1594248504235]], 
val2=AffinityTopologyVersion [topVer=7244792805766858131, minorTopVer=0]]] - 
PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite: 
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple 
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest 
[id=fa3ad903371-ec906005-587a-4dd2-be8c-91ce64d48350, reqs=SingletonList 
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent 
[evtNode=7ad4ae83-15c2-4a1f-93a5-fcb0acf73fbd, topVer=0, nodeId8=7ad4ae83, 
msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1594248504235]], 
val2=AffinityTopologyVersion [topVer=7244792805766858131, minorTopVer=0]]] - 
PASSED{color}

{color:#00008b}Service Grid (legacy mode){color} [tests 4]
* {color:#013220}IgniteServiceGridTestSuite: 
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple 
[val1=DiscoveryEvent [evtNode=dd79cac0-aec7-4c46-b699-7be5947509dd, topVer=0, 
nodeId8=b99fd040, msg=, type=NODE_JOINED, tstamp=1594248535279], 
val2=AffinityTopologyVersion [topVer=6488689461882548464, minorTopVer=0]]] - 
PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite: 
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple 
[val1=DiscoveryEvent [evtNode=dd79cac0-aec7-4c46-b699-7be5947509dd, topVer=0, 
nodeId8=b99fd040, msg=, type=NODE_JOINED, tstamp=1594248535279], 
val2=AffinityTopologyVersion [topVer=6488689461882548464, minorTopVer=0]]] - 
PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite: 
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple 
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest 
[id=3fc1e903371-cab510f7-e6c0-4524-b9d5-be3d0e154362, reqs=SingletonList 
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent 
[evtNode=cfb322a5-d938-46b5-973f-e9116cd4db06, topVer=0, nodeId8=cfb322a5, 
msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1594248535279]], 
val2=AffinityTopologyVersion [topVer=-4948391117688350741, minorTopVer=0]]] - 
PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite: 
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple 
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest 
[id=3fc1e903371-cab510f7-e6c0-4524-b9d5-be3d0e154362, reqs=SingletonList 
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent 
[evtNode=cfb322a5-d938-46b5-973f-e9116cd4db06, topVer=0, nodeId8=cfb322a5, 
msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1594248535279]], 
val2=AffinityTopologyVersion [topVer=-4948391117688350741, minorTopVer=0]]] - 
PASSED{color}

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

> .NET different behavior when using TransactionScope and  ITransactions.Start
> ----------------------------------------------------------------------------
>
>                 Key: IGNITE-13214
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13214
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>            Reporter: Sergey Stronchinskiy
>            Assignee: Pavel Tupitsyn
>            Priority: Critical
>              Labels: .NET, transactions
>             Fix For: 2.9
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Next code runs fine:
> {code:c#}
>             var barier = new Barrier(2);
>             var cache = Cache();
>             cache.Put(1, 1);
>             var task = Task.Factory.StartNew(() =>
>             {
>                 var otherCache = Cache();
>                 barier.SignalAndWait();
>                 otherCache.Put(1, 10);
>                 barier.SignalAndWait();
>             });
>             using (var txscp = new 
> TransactionScope(TransactionScopeOption.Required, new 
> TransactionOptions{IsolationLevel = IsolationLevel.Serializable}))
>             {
>                 var before = cache.Get(1);
>                 barier.SignalAndWait();
>                 barier.SignalAndWait();
>                 txscp.Complete();
>             }
>             Task.WaitAll(task);
>             barier.Dispose();
> {code}
> When I switch to Ignite transactions I get exception:
> {code:c#}
>             using (var tx = 
> Transactions.TxStart(TransactionConcurrency.Optimistic, 
> TransactionIsolation.Serializable))
>             {
>                 var before = cache.Get(1);
>                 barier.SignalAndWait();
>                 barier.SignalAndWait();
>                 tx.Commit();
>             }
> {code}
> {noformat}
> Apache.Ignite.Core.Transactions.TransactionOptimisticException : Failed to 
> prepare transaction (lock conflict): GridNearTxLocal 
> [mappings=IgniteTxMappingsImpl [], 
> {noformat}
> _Cache_ is _IIgnite.Cache<int, int>()_  and _Transactions_ is 
> _IIgnite.GetTransactions()_



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

Reply via email to