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

Why is the change stream feature supported only on replica sets?

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 4.4.0
    • None
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      As a user (via the NodeJS driver) unfamiliar with Mongo internals, I have tried using the change stream feature but received an error: "The $changeStream stage is only supported on replica sets".

      Why is this the expected result? Why is replication needed in order to be able to subscribe to changes to a collection and/or it's document(s)?

            Assignee:
            edwin.zhou@mongodb.com Edwin Zhou
            Reporter:
            soryy708@gmail.com Ivan Rubinson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: