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

Ignite gets stuck on IgniteDataStreamer.addData when using Object with AffinityKeyMapped

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Cannot Reproduce
    • 2.3
    • None
    • None
    • None

    Description

      This problem reproduces from time to time when we are streaming the data (TradeKey.java) to Ignite sql cache. As AffinityKeyMapped we used the object type (ContextCpty.java)

      When we change AffinityKeyMapped type from object to long type (TradeKeyNew.java) then problem disappears.

      Investigation help to understand that we hang in BPlusTree.java class in next method:

      private Result putDown(final Put p, final long pageId, final long fwdId, final int lvl)

      In this method:

      res = p.tryReplaceInner(pageId, page, fwdId, lvl);

      if (res != RETRY) // Go down recursively.
      res = putDown(p, p.pageId, p.fwdId, lvl - 1);

      if (res == RETRY_ROOT || p.isFinished())
      return res;

      if (res == RETRY)
      checkInterrupted(); //WE ALWAYS GO TO THIS PLACE

      Attachments

        1. ContextCpty.java
          1 kB
          Andrei Aleksandrov
        2. TradeKey.java
          2 kB
          Andrei Aleksandrov
        3. TradeKeyNew.java
          3 kB
          Andrei Aleksandrov

        Activity

          People

            Unassigned Unassigned
            aealeksandrov Andrei Aleksandrov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: