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

Shell shows ns corrupt on validate of empty collection

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.0
    • Affects Version/s: None
    • Component/s: Stability
    • None
    • Environment:
      64 bit linux server

      Created new replica pair, determined master using shell db.$cmd.findOne(

      {ismaster:1}

      );, then from master created capped collection db.createCollection("abc",

      {capped:true, size:4194304, max:25000000}

      ); and ran db.abc.validate(); last part of result shows that

      ns corrupt, requires dbchk
      ",
      "ok" : 1,
      "valid" : false,
      "lastExtentSize" : 4194560
      }

      if i add a record then everything is shown to be fine

      deleted: n: 1 size: 4194308
      nIndexes:0
      ",
      "ok" : 1,
      "valid" : true,
      "lastExtentSize" : 4194560
      }

            Assignee:
            dwight@mongodb.com Dwight Merriman
            Reporter:
            bterm Bob T. Terminal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: