You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Denis Magda (JIRA)" <ji...@apache.org> on 2017/10/31 17:34:00 UTC

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

Denis Magda created IGNITE-6804:
-----------------------------------

             Summary: 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
      Security Level: Public (Viewable by anyone)
          Components: cache
            Reporter: Denis Magda
            Priority: Critical
             Fix For: 2.4


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 HashMap 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.

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
(v6.4.14#64029)