[
https://issues.apache.org/jira/browse/IGNITE-21183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17830875#comment-17830875
]
Ignite TC Bot commented on IGNITE-21183:
----------------------------------------
{panel:title=Branch: [pull/11176/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/11176/head] Base: [master] : New Tests
(6)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Thin Client: Java{color} [[tests
6|https://ci2.ignite.apache.org/viewLog.html?buildId=7799663]]
* {color:#013220}ClientTestSuite:
BlockingTxOpsTest.testBlockingOps[concurrency=OPTIMISTIC,
isolation=SERIALIZABLE] - PASSED{color}
* {color:#013220}ClientTestSuite:
BlockingTxOpsTest.testTransactionalConsistency[concurrency=OPTIMISTIC,
isolation=SERIALIZABLE] - PASSED{color}
* {color:#013220}ClientTestSuite:
BlockingTxOpsTest.testTransactionalConsistency[concurrency=PESSIMISTIC,
isolation=REPEATABLE_READ] - PASSED{color}
* {color:#013220}ClientTestSuite:
BlockingTxOpsTest.testCommitFutureChaining[concurrency=PESSIMISTIC,
isolation=REPEATABLE_READ] - PASSED{color}
* {color:#013220}ClientTestSuite:
BlockingTxOpsTest.testCommitFutureChaining[concurrency=OPTIMISTIC,
isolation=SERIALIZABLE] - PASSED{color}
* {color:#013220}ClientTestSuite:
BlockingTxOpsTest.testBlockingOps[concurrency=PESSIMISTIC,
isolation=REPEATABLE_READ] - PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=7793613&buildTypeId=IgniteTests24Java8_RunAll]
> Thin client: Avoid blocking of client-connector threads by transactional
> operations
> -----------------------------------------------------------------------------------
>
> Key: IGNITE-21183
> URL: https://issues.apache.org/jira/browse/IGNITE-21183
> Project: Ignite
> Issue Type: Improvement
> Components: thin client
> Reporter: Aleksey Plekhanov
> Assignee: Aleksey Plekhanov
> Priority: Major
> Labels: ise
> Time Spent: 3h 10m
> Remaining Estimate: 0h
>
> Currently client-connector threads (workers for thin-client operations) can
> be blocked for a long time by cache operation within transaction. If there is
> not enough threads configured it can lead to deadlocks. For example, if we
> have {{n}} threads and {{n+1}} clients which start the pessimistic
> transaction and try to modify the same key, first client lock the key, other
> {{n}} clients wait on locked key and hold the whole thread put by blocking
> operations. Commit/rollback from the first client can never be proceeded,
> since all threads are occupied, and threads can't be released, since they are
> waiting for commit/rollback from the first client.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)