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

Auto encryption of a $changeStream aggregation fails with obscure error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 4.2.0-rc4
    • 4.2.1, 4.3.1
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • Query 2019-09-09, Query 2019-09-23

    Description

      mongocryptd returns the following error message when given a $changeStream pipeline:

      {'ok': 0.0, 'errmsg': 'The $changeStream stage is only supported on replica sets', 'code': 40573, 'codeName': 'Location40573'}
      

      It would be nicer if it returned an error stating that the $changeStream stage is not supported with auto encryption.

      CC kevin.albertson.

      Attachments

        Activity

          People

            bernard.gorman@mongodb.com Bernard Gorman
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: