[
https://issues.apache.org/jira/browse/IGNITE-13214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17153101#comment-17153101
]
Ignite TC Bot commented on IGNITE-13214:
----------------------------------------
{panel:title=Branch: [pull/8004/head] Base: [master] : Possible Blockers
(18)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Platform .NET (Long Running){color} [[tests 0 TIMEOUT
|https://ci.ignite.apache.org/viewLog.html?buildId=5446863]]
{color:#d04437}PDS 1{color} [[tests 0 Exit Code
|https://ci.ignite.apache.org/viewLog.html?buildId=5446855]]
{color:#d04437}Cache 5{color} [[tests
1|https://ci.ignite.apache.org/viewLog.html?buildId=5446842]]
* IgniteCacheWithIndexingTestSuite:
GridCacheSqlDdlClusterReadOnlyModeTest.testAlterTableAllowed - Test has low
fail rate in base branch 0,0% and is not flaky
{color:#d04437}Streamers{color} [[tests
1|https://ci.ignite.apache.org/viewLog.html?buildId=5446805]]
* IgniteKafkaStreamerSelfTestSuite:
IgniteSinkConnectorTest.testSinkPutsWithTransformation - Test has low fail rate
in base branch 1,3% and is not flaky
{color:#d04437}Queries 2{color} [[tests
1|https://ci.ignite.apache.org/viewLog.html?buildId=5446802]]
* IgniteBinaryCacheQueryTestSuite2:
DynamicEnableIndexingBasicSelfTest.testEnableDynamicIndexing[hasNear=false,nodeIdx=2,cacheMode=REPLICATED,atomicityMode=ATOMIC]
- Test has low fail rate in base branch 0,0% and is not flaky
{color:#d04437}Cache 1{color} [[tests
11|https://ci.ignite.apache.org/viewLog.html?buildId=5446838]]
* IgniteBinaryCacheTestSuite: GridCacheStopSelfTest.testStopMultithreaded -
Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheTestSuite:
GridCacheStopSelfTest.testStopImplicitTransactions - Test has low fail rate in
base branch 0,0% and is not flaky
* IgniteBinaryCacheTestSuite:
GridCacheStopSelfTest.testStopExplicitTransactionsReplicated - Test has low
fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheTestSuite:
GridCacheStopSelfTest.testStopExplicitTransactions - Test has low fail rate in
base branch 0,0% and is not flaky
* IgniteBinaryCacheTestSuite:
GridCacheStopSelfTest.testStopImplicitTransactionsReplicated - Test has low
fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheTestSuite: GridCacheStopSelfTest.testStopAtomic - Test has
low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheTestSuite:
GridCacheStopSelfTest.testStopImplicitMvccTransactionsReplicated - Test has low
fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheTestSuite:
GridCacheStopSelfTest.testStopImplicitMvccTransactions - Test has low fail rate
in base branch 0,0% and is not flaky
* IgniteBinaryCacheTestSuite: internal.IgniteInternalCacheRemoveTest - History
for base branch is absent.
* IgniteBinaryCacheTestSuite: cache.GridCacheKeyCheckNearEnabledSelfTest -
History for base branch is absent.
* IgniteBinaryCacheTestSuite: cache.GridCacheKeyCheckSelfTest - History for
base branch is absent.
... and 0 tests blockers
{color:#d04437}Cache 8{color} [[tests
1|https://ci.ignite.apache.org/viewLog.html?buildId=5446845]]
* IgniteCacheTestSuite8:
GridCacheAtomicPartitionedTckMetricsSelfTestImpl.testGetMetricsDisable - Test
has low fail rate in base branch 0,0% and is not flaky
{color:#d04437}MVCC Cache 1{color} [[tests
1|https://ci.ignite.apache.org/viewLog.html?buildId=5446873]]
* IgniteCacheMvccTestSuite1: CacheFutureExceptionSelfTest.testAsyncCacheFuture
- 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
(20)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#00008b}PDS (Indexing){color} [tests 4]
* {color:#013220}IgnitePdsWithIndexingCoreTestSuite:
IgniteWalRebalanceTest.testSwitchHistoricalRebalanceToFullAndClientJoin -
PASSED{color}
* {color:#013220}IgnitePdsWithIndexingCoreTestSuite:
IgniteWalRebalanceTest.testMultipleNodesFailHistoricalRebalance - PASSED{color}
* {color:#013220}IgnitePdsWithIndexingCoreTestSuite:
IgniteWalRebalanceTest.testSwitchHistoricalRebalanceToFullDueToFailOnCreatingWalIterator
- PASSED{color}
* {color:#013220}IgnitePdsWithIndexingCoreTestSuite:
IgniteWalRebalanceTest.testSwitchHistoricalRebalanceToFullWhileIteratingOverWAL
- PASSED{color}
{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 1]
* {color:#013220}exe:
CacheAbstractTransactionalTest.TestTransactionScopeWithSerializableIsolationLocksKeysOnRead
- PASSED{color}
{color:#00008b}Cache 1{color} [tests 3]
* {color:#8b0000}IgniteBinaryCacheTestSuite:
internal.IgniteInternalCacheRemoveTest - FAILED{color}
* {color:#8b0000}IgniteBinaryCacheTestSuite:
cache.GridCacheKeyCheckNearEnabledSelfTest - FAILED{color}
* {color:#8b0000}IgniteBinaryCacheTestSuite: cache.GridCacheKeyCheckSelfTest -
FAILED{color}
{color:#00008b}Platform .NET (Core Linux){color} [tests 1]
* {color:#013220}dll:
CachePartitionedTest.TestTransactionScopeWithSerializableIsolationLocksKeysOnRead
- PASSED{color}
{color:#00008b}Service Grid{color} [tests 4]
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple
[val1=DiscoveryEvent [evtNode=4263aff7-0d93-4790-9d40-048c23ed1701, topVer=0,
nodeId8=7d85e261, msg=, type=NODE_JOINED, tstamp=1594145556214],
val2=AffinityTopologyVersion [topVer=-1770373535829842863, minorTopVer=0]]] -
PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple
[val1=DiscoveryEvent [evtNode=4263aff7-0d93-4790-9d40-048c23ed1701, topVer=0,
nodeId8=7d85e261, msg=, type=NODE_JOINED, tstamp=1594145556214],
val2=AffinityTopologyVersion [topVer=-1770373535829842863, minorTopVer=0]]] -
PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest
[id=f2d358a2371-ad002d99-0870-4902-aaf9-b8f25e4d0c33, reqs=SingletonList
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent
[evtNode=53c016ce-dee6-4c6b-a91a-7aafbeeee10e, topVer=0, nodeId8=53c016ce,
msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1594145556214]],
val2=AffinityTopologyVersion [topVer=1762524234378225627, minorTopVer=0]]] -
PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest
[id=f2d358a2371-ad002d99-0870-4902-aaf9-b8f25e4d0c33, reqs=SingletonList
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent
[evtNode=53c016ce-dee6-4c6b-a91a-7aafbeeee10e, topVer=0, nodeId8=53c016ce,
msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1594145556214]],
val2=AffinityTopologyVersion [topVer=1762524234378225627, minorTopVer=0]]] -
PASSED{color}
{color:#00008b}Service Grid (legacy mode){color} [tests 4]
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple
[val1=DiscoveryEvent [evtNode=3f96022d-1757-40e8-8167-549ba5fe862e, topVer=0,
nodeId8=4c422fef, msg=, type=NODE_JOINED, tstamp=1594145518406],
val2=AffinityTopologyVersion [topVer=-2326125940763473112, minorTopVer=0]]] -
PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest
[id=a433a7a2371-200f2549-7a7b-4ef6-b049-5324d98b4531, reqs=SingletonList
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent
[evtNode=c197acdc-1342-4aca-874b-414cd14a41ee, topVer=0, nodeId8=c197acdc,
msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1594145518406]],
val2=AffinityTopologyVersion [topVer=-5847617070943066063, minorTopVer=0]]] -
PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest
[id=a433a7a2371-200f2549-7a7b-4ef6-b049-5324d98b4531, reqs=SingletonList
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent
[evtNode=c197acdc-1342-4aca-874b-414cd14a41ee, topVer=0, nodeId8=c197acdc,
msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1594145518406]],
val2=AffinityTopologyVersion [topVer=-5847617070943066063, minorTopVer=0]]] -
PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple
[val1=DiscoveryEvent [evtNode=3f96022d-1757-40e8-8167-549ba5fe862e, topVer=0,
nodeId8=4c422fef, msg=, type=NODE_JOINED, tstamp=1594145518406],
val2=AffinityTopologyVersion [topVer=-2326125940763473112, minorTopVer=0]]] -
PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5446892&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: 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)