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

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 4.4.0
    • None
    • None
    • 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
            Reporter:
            Ivan Rubinson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: