Skip to content

Commit a4abdfc

Browse files
Dan PasetteDan Pasette
authored andcommitted
SERVER-12851 correct help text for compact command
1 parent 8bf16f9 commit a4abdfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongo/db/commands/compact.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ namespace mongo {
6565
}
6666
virtual void help( stringstream& help ) const {
6767
help << "compact collection\n"
68-
"warning: this operation blocks the server and is slow. you can cancel with cancelOp()\n"
68+
"warning: this operation locks the database and is slow. you can cancel with killOp()\n"
6969
"{ compact : <collection_name>, [force:<bool>], [validate:<bool>],\n"
7070
" [paddingFactor:<num>], [paddingBytes:<num>] }\n"
7171
" force - allows to run on a replica set primary\n"

0 commit comments

Comments
 (0)