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

changeStream option startAtClusterTime should be a raw BSON Timestamp

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0-rc0
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Fully Compatible

      In 4.0, we will be allowing users to specify a startAtClusterTime option. Currently, the server expects the option to be a BSON document of the form:

      { ts: Timestamp }
      

      This naming not intuitive, as a clusterTime object (as defined in server response $clusterTime.clusterTime) does not conform to this format.

      We should either modify the startAtClusterTime field to expect a raw BSON timestamp, or choose a more intuitive name for the field.

            Assignee:
            charlie.swanson@mongodb.com Charlie Swanson
            Reporter:
            daniel.aprahamian@mongodb.com Daniel Aprahamian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: