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

Concurrent removeAll() on the same cache leads to deadlock

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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

                Slack

                  Issue deployment