Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13706

Thin Client Put_All uses LinkedHashMap, causes warning and may deadlock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.9
    • None
    • thin client
    • None
    • Docs Required, Release Notes Required

    Description

      Thin client protocol handler for Put_All (1004) operation will create a linked hash map and then invoke putAll on this map.

      This leads to couple of issues:

      • Thin client may easily deadlock the cluster by issuing parallel transactional putAlls with different order of keys.
      • "Unordered map with putAll" warning is printed to log, causing user confusion, even if client actually uses SortedMap with putAll().

      What we really need is BinaryObject-aware SortedMap / making sure that keys/KeyCacheObjects are always comparable.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ilyak Ilya Kasnacheev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: