[DOCS-11795] Update count pages Created: 13/Jun/18  Updated: 29/Oct/23  Resolved: 13/Jun/18

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 5 years, 35 weeks ago

 Description   

"Need to explain that $count is equivalent to $group on null with $project after. That might not always be the case but it is now.\n\nAlso, the page on getting accurate count in sharded clusters should use $count stage and not $group.",

 

"count Field section says it's only inaccurate in sharded clusters but what about https://docs.mongodb.com/master/reference/command/count/index.html#accuracy-after-unexpected-shutdown - that's not mentioned at all.",

 

 "Need to explain that $count is equivalent to $group on null with $project after.  That might not always be the case but it is now.\n\nAlso, the page on getting accurate count in sharded clusters should use $count stage and not $group."

: "Need to explain that $count is equivalent to $group on null with $project after.  That might not always be the case but it is now.\n\nAlso, the page on getting accurate count in sharded clusters should use $count stage and not $group.",



 Comments   
Comment by Githook User [ 13/Jun/18 ]

Author:

{'username': 'kay-kim', 'name': 'kay', 'email': 'kay.kim@10gen.com'}

Message: DOCS-11795: blurb about count cmd and unclean shutdown
Branch: master
https://github.com/mongodb/docs/commit/b38ffbebfa386d2c95dde2f573076a3b3cfec40e

Comment by Githook User [ 13/Jun/18 ]

Author:

{'username': 'kay-kim', 'name': 'kay', 'email': 'kay.kim@10gen.com'}

Message: docs-11795: = + part2
Branch: master
https://github.com/mongodb/docs/commit/62c3eb30f0a9b6a3d07a62b5ab5fe3fa66e9f5ba

Comment by Githook User [ 13/Jun/18 ]

Author:

{'username': 'kay-kim', 'name': 'kay', 'email': 'kay.kim@10gen.com'}

Message: docs-11795: $count = $group + $project
Branch: v3.6
https://github.com/mongodb/docs/commit/295801c878c7c937b5b6818824d53bd1311112ff

Comment by Githook User [ 13/Jun/18 ]

Author:

{'username': 'kay-kim', 'name': 'kay', 'email': 'kay.kim@10gen.com'}

Message: DOCS-11795: v3.6 update sharded clusters document count example to use $count stage
Branch: v3.6
https://github.com/mongodb/docs/commit/6a52731784bb1ecca0080a9ad1ffe68e21ff1f74

Comment by Githook User [ 13/Jun/18 ]

Author:

{'username': 'kay-kim', 'name': 'kay', 'email': 'kay.kim@10gen.com'}

Message: docs-11795: $count = $group + $project
Branch: master
https://github.com/mongodb/docs/commit/b221c8ba237fd0e19a0dc4bda6176780e46bd90d

Generated at Thu Feb 08 08:03:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.