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 2019/10/15 14:24: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 (113)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Platform C++ (Linux)*{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696766]]

{color:#d04437}Cache 6{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696795]]

{color:#d04437}SPI{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696757]]

{color:#d04437}ZooKeeper (Discovery) 3{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696819]]

{color:#d04437}ZooKeeper (Discovery) 1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696764]]

{color:#d04437}Scala (Examples){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696762]]

{color:#d04437}Platform .NET (Long Running){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696815]]

{color:#d04437}Examples{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696738]]

{color:#d04437}PDS (Compatibility){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696804]]

{color:#d04437}Scala (Visor Console){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696763]]

{color:#d04437}RDD{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696751]]

{color:#d04437}PDS (Indexing){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696805]]

{color:#d04437}Cache (Expiry Policy){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696780]]

{color:#d04437}ZooKeeper (Discovery) 2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696765]]

{color:#d04437}Streamers{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696755]]

{color:#d04437}Cache 2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696791]]

{color:#d04437}Start Nodes{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696756]]

{color:#d04437}Platform .NET{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696811]]

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

{color:#d04437}MVCC Queries{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696775]]

{color:#d04437}Continuous Query 3{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696800]]

{color:#d04437}Cache 5{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696794]]

{color:#d04437}PDS 1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696807]]

{color:#d04437}Queries 1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696817]]

{color:#d04437}ZooKeeper (Discovery) 4{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696820]]

{color:#d04437}MVCC PDS 1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696834]]

{color:#d04437}Cache 1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696790]]

{color:#d04437}Thin Client: Java{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696748]]

{color:#d04437}Compute (Grid){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696735]]

{color:#d04437}Basic 3{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696770]]

{color:#d04437}Data Structures{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696802]]

{color:#d04437}MVCC PDS 2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696835]]

{color:#d04437}Cache 7{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696796]]

{color:#d04437}Continuous Query 4{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696801]]

{color:#d04437}Basic 1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696769]]

{color:#d04437}MVCC Cache 1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696825]]

{color:#d04437}Cache 8{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696797]]

{color:#d04437}Cache 3{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696792]]

{color:#d04437}PDS 3{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696809]]

{color:#d04437}MVCC Cache 5{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696829]]

{color:#d04437}MVCC PDS 4{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696837]]

{color:#d04437}Cache (Failover SSL){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696781]]

{color:#d04437}PDS 2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696808]]

{color:#d04437}Basic 2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696729]]

{color:#d04437}Cassandra Store{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696838]]

{color:#d04437}Cache (Failover) 3{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696784]]

{color:#d04437}MVCC Cache 2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696826]]

{color:#d04437}PDS 4{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696810]]

{color:#d04437}MVCC Cache{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696773]]

{color:#d04437}Cache (Deadlock Detection){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696779]]

{color:#d04437}Cache (Restarts) 1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696787]]

{color:#d04437}Continuous Query 2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696737]]

{color:#d04437}Cache 9{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696798]]

{color:#d04437}Java Client{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696745]]

{color:#d04437}Queries 2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696752]]

{color:#d04437}Platform C++ (Linux Clang){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696772]]

{color:#d04437}SPI (URI Deploy){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696758]]

{color:#d04437}Service Grid (legacy mode){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696824]]

{color:#d04437}Platform .NET (Integrations){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696814]]

{color:#d04437}MVCC Cache 8{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696832]]

{color:#d04437}Service Grid{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696823]]

{color:#d04437}Cache (Failover) 1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696782]]

{color:#d04437}ZooKeeper{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696761]]

{color:#d04437}Thin client: Node.js{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696768]]

{color:#d04437}~Build Apache Ignite~{color} [[tests 0 Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=4696726]]

{color:#d04437}Activate / Deactivate Cluster{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696731]]

{color:#d04437}Client Nodes{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696732]]

{color:#d04437}Thin client: PHP{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696776]]

{color:#d04437}Cache 4{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696793]]

{color:#d04437}Thin client: Python{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696818]]

{color:#d04437}GCE{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696739]]

{color:#d04437}JDBC Driver{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696749]]

{color:#d04437}MVCC Cache 7{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696831]]

{color:#d04437}Web Sessions{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696759]]

{color:#d04437}Platform C++ (Win x64 / Release){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696767]]

{color:#d04437}Security{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696839]]

{color:#d04437}Cache (Full API){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696786]]

{color:#d04437}Cache (Full API Multi JVM){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696785]]

{color:#d04437}Cache Evictions{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696799]]

{color:#d04437}Open Census{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696840]]

{color:#d04437}Cache (Restarts) 2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696788]]

{color:#d04437}PDS (Unit Tests){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696806]]

{color:#d04437}Platform .NET (NuGet)*{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696816]]

{color:#d04437}Continuous Query 1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696736]]

{color:#d04437}Examples (LGPL){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696821]]

{color:#d04437}JCache TCK 1.1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696771]]

{color:#d04437}Cache (Failover) 2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696783]]

{color:#d04437}AWS{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696728]]

{color:#d04437}Kubernetes{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696744]]

{color:#d04437}OSGi{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696803]]

{color:#d04437}Geospatial Indexing{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696740]]

{color:#d04437}Hibernate 5.1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696742]]

{color:#d04437}Cloud{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696733]]

{color:#d04437}Hibernate 4.2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696741]]

{color:#d04437}Queries (Config Variations){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696750]]

{color:#d04437}AOP{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696727]]

{color:#d04437}Binary Objects{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696730]]

{color:#d04437}MVCC Cache 9{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696833]]

{color:#d04437}Spring{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696753]]

{color:#d04437}MVCC PDS 3{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696836]]

{color:#d04437}MVCC Cache 6{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696830]]

{color:#d04437}Compute (Affinity Run){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696734]]

{color:#d04437}MVCC Cache 4{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696828]]

{color:#d04437}Logging{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696747]]

{color:#d04437}MVCC Cache 3{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696827]]

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

{color:#d04437}Hibernate 5.3{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696822]]

{color:#d04437}Cache (Tx Recovery){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696789]]

{color:#d04437}JTA{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696743]]

{color:#d04437}MVCC JDBC{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696774]]

{color:#d04437}Yarn{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696760]]

{color:#d04437}Spring (Data){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696754]]

{color:#d04437}Interceptor Cache (Full API Config Variations / Basic)*{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=4696746]]

{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=4696841&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: 10m
>  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)