Ruby driver rejects insert documents with size > 16_000_000 rather than 16_777_216

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      lib/mongo/collection.rb:975 raise InvalidOperation, "Exceded maximum insert size of 16,000,000 bytes" if message.size > 16_000_000

      16_000_000 should probably be replaced by @connection.max_bson_size

      This is causing a performance test to fail for the EPAM performance test suite.

            Assignee:
            Tyler Brock (Inactive)
            Reporter:
            Gary Murakami (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: