Update the `BsonDefaults.MaxDocumentSize` doc comment to match the real used value.

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Unknown
    • 3.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Fully Compatible
    • Dotnet Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      The documentation states that the default is 4MiB (https://github.com/mongodb/mongo-csharp-driver/blob/main/src/MongoDB.Bson/BsonDefaults.cs#L77) but that was the value used before CSHARP-867(https://jira.mongodb.org/browse/CSHARP-867). Current value is set to `int.MaxValue` by default.

            Assignee:
            Boris Dogadov
            Reporter:
            Paweł Łukasik
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: