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

Race condition when offheaped value is being promoted to swap.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • sprint-1
    • None
    • cache
    • None

    Description

      Eviction from offheap to swap is done using listener on GridUnsafeMap. Notification of this listener happens when value is already deleted from offheap and lock is released (GridUnsafeMap line 860). So "get" operation on cache can miss the value while it is in between.

      Need to:
      1) Review this code piece;
      2) Create a test reproducing the issue;
      3) Fix it.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vozerov Vladimir Ozerov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: