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

Investigate why tenant migrations can get DuplicateKey error when run with background_unique_indexes.js

    • ALL
    • Repl 2021-03-22

      Tenant migrations in this test consistently abort due to DuplicateKey error as shown below.

      {'state': 'aborted', 'abortReason': {'code': 11000, 'codeName': 'DuplicateKey', 'errmsg': 'Tenant migration recipient command failed :: caused by :: E11000 duplicate key error collection: tenantMigrationTenantId_background_unique_indexes.test index: x_1 dup key: { x: 791.0 }', 'keyPattern': {'x': 1.0}, 'keyValue': {'x': 791.0}}, 'ok': 1.0, '$clusterTime': {'clusterTime': Timestamp(1615490263, 514), 'signature': {'hash': b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 'keyId': 0}}, 'operationTime': Timestamp(1615490263, 514)}
      

            Assignee:
            jason.chan@mongodb.com Jason Chan
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: