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

storage_rocks_index_test is broken

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0-rc4
    • Affects Version/s: 3.2.0-rc3
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL

      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
      

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: