[DOCS-2943] compact command is misleading on the behaviour during runtime Created: 20/Mar/14  Updated: 09/Mar/15  Resolved: 24/Mar/14

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

Type: Task Priority: Major - P3
Reporter: Andrew Ryder (Inactive) 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: 9 years, 47 weeks, 2 days ago

 Description   

Regarding this detail: http://docs.mongodb.org/manual/reference/command/compact/#blocking
During a compaction in a replica-set this suggests that operations would be blocked until the compaction completes, but this is often not the case.

The warning at the replica-sets section hints as to why: http://docs.mongodb.org/manual/reference/command/compact/#replica-sets
"On secondaries, the compact command forces the secondary to enter RECOVERING state."
Queries received by a node in other than SECONDARY or PRIMARY states fail with an error message, something to the effect of "not PRIMARY or SECONDARY". The ops do not block.



 Comments   
Comment by Githook User [ 24/Mar/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2943: edit to clarify that queries fail against a node in recovering satate
Branch: v2.4
https://github.com/mongodb/docs/commit/dd5f96ac5067704f9a43e9a11f5e4a62a142b699

Comment by Githook User [ 24/Mar/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2943: edit to clarify that queries fail against a node in recovering satate
Branch: master
https://github.com/mongodb/docs/commit/4091ac802910db07cd58ed393f3ab1aeaa016663

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