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

Assert 13440 (bad offset error) should not be logged as uassert

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • Server 2.7.4, Server 2.7.5, Server 2.7.6

    Description

      13440 is about database corruption
      13441 as well

          NOINLINE_DECL void MongoDataFile::badOfs(int ofs) const {
              stringstream ss;
              ss << "bad offset:" << ofs << " accessing file: " << mmf.filename() << " - consider repairing database";
              uasserted(13440, ss.str());
          }

      https://github.com/mongodb/mongo/blob/v2.2/src/mongo/db/pdfile.cpp#L390
      https://github.com/mongodb/mongo/blob/v2.4/src/mongo/db/pdfile.cpp#L412

      uasserted() logs at from level 1

      Attachments

        Activity

          People

            matt.kangas Matt Kangas
            gianfranco Gianfranco Palumbo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: