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

Concurrent removeAll() on the same cache leads to deadlock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.8
    • 2.9
    • cache
    • Release Notes Required

    Description

      That's because removeAll is implemented as invokeAll with HashSet parameter.

      invokeAll + HashSet = 💀

      I will attach simple reproducer (please note that multiple invocations of test is needed, typically 5-10) as well as thread dumps.

      Attachments

        1. RemoveAllDeadlockTest.java
          4 kB
          Ilya Kasnacheev
        2. removeAll-deadlock.txt
          187 kB
          Ilya Kasnacheev

        Issue Links

          Activity

            People

              maliev Mirza Aliev
              ilyak Ilya Kasnacheev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m