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

"compact" no effect

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 3.2.0
    • Fix Version/s: None
    • Component/s: Admin
    • Labels:
      None

      Description

      I have removed the large number of documents.

      shell:

      > db.runCommand({compact: "urandom"})
      { "ok" : 1 }
      

      mongod log:

      2015-12-24T08:51:59.262+0000 I COMMAND  [conn21] compact test.urandom begin, options: paddingMode: NONE validateDocuments: 1
      2015-12-24T08:52:00.708+0000 I COMMAND  [conn21] compact test.urandom end
      2015-12-24T08:52:00.708+0000 I COMMAND  [conn21] command test.urandom command: compact { compact: "urandom" } ntoreturn:1 ntoskip:0 keyUpdates:0 writeConflicts:0 numYields:0 reslen:22 locks:{ Global: { acquireCount: { r: 1, w: 1 } }, Database: { acquireCount: { W: 1 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 85985 } } } protocol:op_command 1532ms
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: