Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-2109

`TEST_CASE (list with unresolved links)` failure object store BPNODE=4

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • next-major
    • Affects Version/s: None
    • Component/s: None
    • None

      Expected results

      TEST_CASE("list with unresolved links", "[list]") should pass. Instead it is failing on next-major since we introduced changes to the header and to the commit logic for compressing integer arrays.

      Actual Results

      [2024/04/30 17:49:25.745] 3: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      [2024/04/30 17:49:25.745] 3: realm-object-store-tests is a Catch2 v3.5.3 host application.
      [2024/04/30 17:49:25.745] 3: Run with -? for options
      [2024/04/30 17:49:25.745] 3:
      [2024/04/30 17:49:25.746] 3: -------------------------------------------------------------------------------
      [2024/04/30 17:49:25.746] 3: list with unresolved links
      [2024/04/30 17:49:25.746] 3:   invalidating an object is seen as a deletion
      [2024/04/30 17:49:25.746] 3: -------------------------------------------------------------------------------
      [2024/04/30 17:49:25.746] 3: /data/mci/e314a1706d338d8a72b5c96181bcb873/realm-core/test/object-store/list.cpp:2139
      [2024/04/30 17:49:25.746] 3: ...............................................................................
      [2024/04/30 17:49:25.746] 3:
      [2024/04/30 17:49:25.746] 3: /data/mci/e314a1706d338d8a72b5c96181bcb873/realm-core/test/object-store/list.cpp:2144: FAILED:
      [2024/04/30 17:49:25.746] 3:   REQUIRE( *begin++ == index )
      [2024/04/30 17:49:25.746] 3: with expansion:
      [2024/04/30 17:49:25.746] 3:   6 == 5
      [2024/04/30 17:49:25.746] 3: with message:
      [2024/04/30 17:49:25.746] 3:   Checking change.deletions
      [2024/04/30 17:49:25.746] 3:
      [2024/04/30 17:49:25.746] 3: Assertion failure: /data/mci/e314a1706d338d8a72b5c96181bcb873/realm-core/test/object-store/list.cpp:2144
      [2024/04/30 17:49:25.746] 3: 	 from expresion: '*begin++ == index'
      [2024/04/30 17:49:25.746] 3: 	 with expansion: '6 == 5'
      [2024/04/30 17:49:25.746] 3: 	 message: Checking change.deletions
      

      Steps & Code to Reproduce

      Just run list with unresolved links with BPNODE set to 4.

      Core version

      On next-major only.

            Assignee:
            nicola.cabiddu@mongodb.com Nicola Cabiddu
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: