Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-21563

storage_rocks_index_test is broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.2.0-rc3
    • Fix Version/s: 3.2.0-rc4
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      The SortedDataInterface unit-test is broken for RocksDB, most likely because of this change, which now requires that SortedDataInterface::Cursor implementations for unique indexes never return duplicate keys.

      This is the failure (obtained from the most recent evergreen run):

      	
      [cpp_unit_test:storage_rocks_index_test] 2015-11-18T05:45:04.237+0000 2015-11-18T05:45:04.236+0000 I -        [main] SortedDataInterface            | tests:  146 | fails:    2 | assert calls:          0 | time secs:  2.361
      [cpp_unit_test:storage_rocks_index_test] 2015-11-18T05:45:04.237+0000 	SaveAndRestorePositionUniqueIndexWontReturnDupKeys_Forward	Expected cursor->next() == IndexKeyEntry(key2, loc2) ( { : 1 }@RecordId(44) == { : 2 }@RecordId(44)) @src/mongo/db/storage/sorted_data_interface_test_cursor_saverestore.cpp:458
      [cpp_unit_test:storage_rocks_index_test] 2015-11-18T05:45:04.237+0000 	SaveAndRestorePositionUniqueIndexWontReturnDupKeys_Reverse	Expected cursor->next() == IndexKeyEntry(key3, loc1) ( { : 4 }@RecordId(42) == { : 3 }@RecordId(42)) @src/mongo/db/storage/sorted_data_interface_test_cursor_saverestore.cpp:537
      [cpp_unit_test:storage_rocks_index_test] 2015-11-18T05:45:04.237+0000 2015-11-18T05:45:04.236+0000 I -        [main] TOTALS                         | tests:  151 | fails:    2 | assert calls:          0 | time secs:  2.427
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: