mongoimport BUF_SIZE needs to be upgraded

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.1.0
    • Affects Version/s: 2.0.2
    • Component/s: Tools
    • Environment:
      Tested on Debian using mongodb-10gen 2.0.2
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In MongoDB 1.8 and newer maxBsonObjectSize is 16MB but using mongoimport the limit is still 4MB due to the deprecated definition of BUF_SIZE. Check https://github.com/mongodb/mongo/blob/master/src/mongo/tools/import.cpp#L48

            Assignee:
            Ben Becker (Inactive)
            Reporter:
            José Valentín Gutiérrez Boquete
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: