Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-448

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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@10gen.com Tyler Brock
            Reporter:
            gjmurakami Gary Murakami
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: