ChangeStreamDocument should support the "to" field for rename events

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.11.0
    • Affects Version/s: None
    • Component/s: Change Streams
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Listening to changestream on a database for a collection rename event returns this output:

      ChangeStreamDocument{resumeToken={"_data": "825CABD8F6000000012B022C0100296E5A1004A1D1648D793640C68477FB35AC9554E904"}, namespace=test.test, fullDocument=null, documentKey=null, clusterTime=Timestamp{value=6677669423580446721, seconds=1554766070, inc=1}, operationType=OperationType{value='rename'}, updateDescription=null}
      

      Note that the returned ChangeStreamDocument returned is missing the to field, which is expected to exist (as mentioned in the Change event documentation).

      This was tested using the Java driver 3.10.1

            Assignee:
            Jeffrey Yemin
            Reporter:
            Kevin Adistambha
            None
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: