fassert in gridfs after an unclean shutdown

XMLWordPrintableJSON

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

      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
      

        1. mongod.log
          1.01 MB
          Chris Wang

            Assignee:
            Ramon Fernandez Marina
            Reporter:
            Chris Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: