Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2392

ChangeStreamDocument.ClusterTime should be serialized as Timestamp

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 2.7.1
    • 2.7.0
    • Serialization
    • None

    Description

      Attempting to access ChangeStreamDocument.ClusterTime results in a System.FormatException as we are trying to deserialize a BsonTimestamp as a BsonDocument.

      According to the spec this value is a Timestamp, so we should treat it accordingly.

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            john.murphy@mongodb.com John Murphy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: