Description
This is documented for compact:
http://docs.mongodb.org/manual/reference/command/compact/
but not for touch:
http://docs.mongodb.org/manual/reference/command/touch/
Others commands do this.
See example on a secondary on 2.2.2
Tue Jan 29 14:29:01 [conn81] replSet going into maintenance mode (0 other tasks)
|
Tue Jan 29 14:29:01 [conn81] replSet RECOVERING
|
Tue Jan 29 14:29:01 [conn81] touching namespace enron.messages
|
Tue Jan 29 14:29:05 [conn82] end connection 10.7.100.10:54146 (2 connections now open)
|
Tue Jan 29 14:29:05 [initandlisten] connection accepted from 10.7.100.10:54159 #84 (3 connections now open)
|
Tue Jan 29 14:29:08 [conn83] end connection 10.7.100.10:54147 (2 connections now open)
|
Tue Jan 29 14:29:08 [initandlisten] connection accepted from 10.7.100.10:54160 #85 (3 connections now open)
|
Tue Jan 29 14:29:12 [conn81] touching namespace enron.messages complete
|
Tue Jan 29 14:29:12 [conn81] leaving maintenance mode (0 other tasks)
|
Tue Jan 29 14:29:12 [conn81] command enron.$cmd command: { touch: "messages", data: true, index: true } ntoreturn:1 keyUpdates:0 locks(micros) r:43834 reslen:37 10577ms
|
Tue Jan 29 14:29:12 [conn81] command denied: { replSetGetStatus: 1.0 }
|
Tue Jan 29 14:29:12 [rsSync] replSet SECONDARY
|