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

Missing uuid in collection info returned by TenantDatabaseCloner's listCollections command

    • Fully Compatible
    • ALL
    • v5.0
    • Repl 2021-05-03, Repl 2021-05-17, Repl 2021-05-31

      Based on the EVG patch builds for SERVER-52713, the listCollections command run TenantDatabaseCloner sometimes can return collection info without uuid, causing the migration to abort with FailedToParse error.

      buildscripts.resmokelib.errors.ServerFailure: Tenant migration with donor primary on port 20002 of replica set 'rs0' has aborted due to an error: {'state': 'aborted', 'abortReason': {'code': 9, 'codeName': 'FailedToParse', 'errmsg': 'Tenant migration recipient command failed :: caused by :: Collection info could not be parsed : { name: "fts_index3", type: "collection", options: {}, info: { readOnly: false }, idIndex: { v: 2, key: { _id: 1 }, name: "_id_" } } :: caused by :: BSON field \'TenantDatabaseCloner::listCollectionsStage.info.uuid\' is missing but a required field'}, 'ok': 1.0, '$clusterTime': {'clusterTime': Timestamp(1616068833, 18), '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(1616068833, 18)}.
      

            Assignee:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: