[DOCS-1068] The DOC page for touch command does not warn that it puts a replica set node in recovery mode Created: 29/Jan/13  Updated: 08/Aug/17  Resolved: 26/Feb/13

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.2

Type: Bug Priority: Major - P3
Reporter: Gianfranco Palumbo Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 10 years, 51 weeks, 2 days ago

 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



 Comments   
Comment by auto [ 26/Feb/13 ]

Author:

{u'date': u'2013-02-26T01:10:26Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1068: clarifying notes on commands that turn secondaries into recovering members.
Branch: v2.2
https://github.com/mongodb/docs/commit/9c6913bf3f62487d4fba6a12693d4f071d523e61

Comment by auto [ 26/Feb/13 ]

Author:

{u'date': u'2013-02-26T01:10:26Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1068: clarifying notes on commands that turn secondaries into recovering members.
Branch: master
https://github.com/mongodb/docs/commit/e390361fb923f1d839fdebe771e714313b7741bb

Generated at Thu Feb 08 07:40:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.