Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-12

create_collection fails with size > 2G

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Linux, 64bit build, version 16068bcc88c4d1ba2740fe5511e356c551d714a9

    Description

      The following command (from python driver) makes my mongod really unhappy:

      conn.dummy.create_collection( "test",

      { 'size':2147483648 }

      )

      Server:

      Wed Apr 15 19:08:23 connection accepted from 127.0.0.1:29605
      Wed Apr 15 19:08:23 dummy.$cmd Assertion failure d db/pdfile.cpp 152
      0x418097 0x41832c 0x4ec8c0 0x4eca15 0x4c695e 0x4c4215 0x466e51 0x468e18 0x4e37ff 0x4e585a 0x515e78 0x2b61377e7cac 0x2b61374cd0fa 0x2b6138cf366e
      mongod [0x418097]
      mongod [0x41832c]
      mongod [0x4ec8c0]
      mongod [0x4eca15]
      mongod [0x4c695e]
      mongod [0x4c4215]
      mongod [0x466e51]
      mongod [0x468e18]
      mongod [0x4e37ff]
      mongod [0x4e585a]
      mongod(_ZN5mongo10connThreadEv+0x268) [0x515e78]
      /usr/lib/libboost_thread-mt.so(thread_proxy+0x6c) [0x2b61377e7cac]
      /lib/libpthread.so.0 [0x2b61374cd0fa]
      /lib/libc.so.6(__clone+0x6e) [0x2b6138cf366e]

      Smaller sizes work, the following is no problem:
      conn.dummy.create_collection( "test",

      { 'size':2147483647 }

      )

      Attachments

        Activity

          People

            mike Michael Dirolf
            raz Jim Jones
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: