[SERVER-57256] Add deprecation message that refers to the docs for count command Created: 27/May/21  Updated: 06/Dec/22  Resolved: 17/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Jacob Evans Assignee: Backlog - Query Optimization
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File myFeature.diff    
Assigned Teams:
Query Optimization
Sprint: Query Optimization 2021-05-31, Query Optimization 2021-06-14
Participants:

 Description   

Here's an example of the message format we prefer to be consistent with https://github.com/mongodb/mongo/blob/11de948b0c50df7d12de09ae0f01e791fc5d70d7/src/mongo/db/catalog/index_catalog_impl.cpp#L122-L128

Check with the docs team to get a preferred url.

In order to implement exponential backoff, consider 'SampleEveryNth' and the mechanism in 'log_severity_suppressor.h'.



 Comments   
Comment by Joe Kanaan [ 17/Mar/22 ]

We are adding count to API v1, so we won't be deprecating it.

Comment by Githook User [ 23/Jun/21 ]

Author:

{'name': 'Maddie Zechar', 'email': 'mez2113@columbia.edu', 'username': 'madelinezec'}

Message: Revert "SERVER-57256: Add deprecation message for count command and direct reader to docs"

This reverts commit 30725e9c2316bf28a79d15d681c6df897b93b11b.
Branch: master
https://github.com/mongodb/mongo/commit/913ced248f4f4a5518dc4079bf17d14fe12f236b

Comment by Maddie Zechar [ 23/Jun/21 ]

count() is out of scope for deprecation project. We are reverting the commit made on the server and attaching the diff to this ticket.

Comment by Githook User [ 11/Jun/21 ]

Author:

{'name': 'Maddie Zechar', 'email': 'mez2113@columbia.edu', 'username': 'madelinezec'}

Message: SERVER-57256: Add deprecation message for count command and direct reader to docs
Branch: master
https://github.com/mongodb/mongo/commit/30725e9c2316bf28a79d15d681c6df897b93b11b

Comment by Maddie Zechar [ 08/Jun/21 ]

CR: https://mongodbcr.appspot.com/800040027/

Generated at Thu Feb 08 05:41:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.