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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            tyler@10gen.com Tyler Brock
            Reporter:
            gjmurakami Gary Murakami
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: