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

Assertion error in IgniteCacheOffheapManagerImpl#destroyCacheDataStore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7.5
    • None
    • cache
    • None
    • Docs Required

    Description

      Assertion error occurs in IgniteCacheOffheapManagerImpl#destroyCacheDataStore in a following code:

      boolean removed = partDataStores.remove(p, store);
      
      assert removed;
      

      It asserts that a partition store must be removed from a map here. But in practice a removal can occur at least in 2 places: node stop and partition eviction. Employed synchronization is not sufficient to guarantee that a removal happens exactly once.

      The issue is reproduced in IgniteSqlQueryMinMaxTest from time to time.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Pavlukhin Ivan Pavlukhin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

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