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

Can mongo change stream return updated fields in case of replace operation

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • ALL

      We are using mongo changestream to watch couple of collections

      In our microservice java code we are using mongoTemplate.save in some places to update the document. 

      changestream is picking it as "replace" operation and not showing updatedFields. 

      Is it possible to just include what fields to updated in updatedescription?

            Assignee:
            daniel.hatcher@mongodb.com Danny Hatcher (Inactive)
            Reporter:
            lavanya505 Lavanya Kondragunta
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: