You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ilya Kasnacheev (Jira)" <ji...@apache.org> on 2020/01/22 14:03:00 UTC

[jira] [Issue Comment Deleted] (IGNITE-6804) Print a warning if HashMap is passed into bulk update operations

     [ https://issues.apache.org/jira/browse/IGNITE-6804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Kasnacheev updated IGNITE-6804:
------------------------------------
    Comment: was deleted

(was: {panel:title=Branch: [pull/6976/head] Base: [master] : Possible Blockers (47)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Cache 6{color} [[tests 0 Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=4755357]]

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

{color:#d04437}Queries 1{color} [[tests 42|https://ci.ignite.apache.org/viewLog.html?buildId=4755201]]
* IgniteBinaryCacheQueryTestSuite: IgniteCachePartitionedTransactionalSnapshotColumnConstraintTest.testPutLongStringKeyField - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCachePartitionedTransactionalSnapshotColumnConstraintTest.testPutValidDecimalKeyAndValueField - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCachePartitionedTransactionalSnapshotColumnConstraintTest.testPutLongStringValueField - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCacheReplicatedTransactionalSnapshotColumnConstraintTest.testPutValidDecimalKeyAndValueField - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCacheReplicatedTransactionalSnapshotColumnConstraintTest.testPutLongStringKeyField - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCacheReplicatedTransactionalSnapshotColumnConstraintTest.testPutLongStringValueField - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCachePartitionedAtomicColumnConstraintsTest.testPutValidDecimalKeyAndValueField - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCachePartitionedAtomicColumnConstraintsTest.testPutTooLongStringKeyFieldFail - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCachePartitionedAtomicColumnConstraintsTest.testPutLongStringKeyField - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCachePartitionedAtomicColumnConstraintsTest.testPutTooLongStringValueFieldFail - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCachePartitionedAtomicColumnConstraintsTest.testPutTooLongDecimalValueFieldScaleFail - Test has low fail rate in base branch 0,0% and is not flaky
... and 31 tests blockers

{color:#d04437}MVCC Cache 5{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=4755213]]
* IgniteCacheMvccTestSuite5: GridCacheHashMapPutAllWarningsTest.testHashMapPutAllExplicitOptimistic - History for base branch is absent.

{color:#d04437}PDS 3{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=4755193]]
* IgnitePdsTestSuite3: IgnitePdsContinuousRestartTest.testRebalancingDuringLoad_8000_8000_8_1 - Test has low fail rate in base branch 0,0% and is not flaky

{color:#d04437}Platform .NET (Inspections)*{color} [[tests 0 Failure on metric |https://ci.ignite.apache.org/viewLog.html?buildId=4755197]]

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

> Print a warning if HashMap is passed into bulk update operations
> ----------------------------------------------------------------
>
>                 Key: IGNITE-6804
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6804
>             Project: Ignite
>          Issue Type: Improvement
>          Components: cache
>            Reporter: Denis A. Magda
>            Assignee: Ilya Kasnacheev
>            Priority: Critical
>              Labels: usability
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Ignite newcomers tend to stumble on deadlocks simply because the keys are passed in an unordered HashMap. Propose to do the following:
> * update bulk operations Java docs.
> * print out a warning if not SortedMap (e.g. HashMap, Weak/Identity/Concurrent/Linked HashMap etc) is passed into
> a bulk method (instead of SortedMap) and contains more than 1 element. However, we should make sure that we only print that warning once and not every time the API is called.
> * do not produce warning for explicit optimistic transactions
> More details are here:
> http://apache-ignite-developers.2346864.n4.nabble.com/Re-Ignite-2-0-0-GridUnsafe-unmonitor-td23706.html



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