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

Robin-hood hashing may fail with negative index in case backward shift finished with full table scan

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5
    • 2.5
    • persistence
    • None

    Description

      Introduced in IGNITE-7638 Implemented robin-hood hashing for FullPageIdTable

      Found by Jokser

      test

       @Test
          public void testShortSize() throws Exception {
              withMap(map -> {
                map.put(1, 1, 0, 0);
                map.put(2, 0, 1, 1);
                map.remove(1, 1);
              }, 2);
          }
      

      Problematic code
      org/apache/ignite/internal/processors/cache/persistence/pagemem/RobinHoodBackwardShiftHashMap.java:321

      Attachments

        Issue Links

          Activity

            People

              dpavlov Dmitry Pavlov
              dpavlov Dmitry Pavlov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: