Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2305

BsonBinaryWriter reports incorrect max document size in error message

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 3.4.0-rc1, 3.4.0
    • 3.0.0, 2.14.0
    • BSON
    • None

    Description

      It compares against maxDocumentSizeStack.peek(), but then reports binaryWriterSettings.getMaxDocumentSize()

      Attachments

        Activity

          People

            jeff.yemin@mongodb.com Jeffrey Yemin
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: