Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-18970

fassert in gridfs after an unclean shutdown

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.4.3, 2.6.10
    • Component/s: GridFS, MMAPv1
    • None
    • Environment:
      CentOS v6.4
    • Linux

      I am running a single mongodb server in CentOS v6.5 64bit.
      One day, the server was down due to power's problem.
      After server's restarting, there has been a problem with mongodb's gridfs.
      Some files cannot be read, and repair cannot work. At that time, the mongo version wat v2.4.3.
      I thought it wat old version's bug, so I upgraded the version to v2.6.10.
      But the problem is still.

      I store many small files is gridfs, with gridfs's id to access the file, such as:
      http://xxxx/media/557e84883e2ff5522200001f/file.jpg

      How can I fix this problem? And ensure the old files id not be changed.

      Assertion: 10334:BSONObj size: 0 (0x0) is invalid. Size must be between 0 and 16793600(16MB) First element: EOO
      

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            chrisloong Chris Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: