[DOCS-12215] resetError deprecation status Created: 20/Nov/18 Updated: 30/Oct/23 Resolved: 13/Dec/19 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual, Server |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Oleg Pudeyev (Inactive) | Assignee: | Kay Kim (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Participants: | |||||||||||||
| Days since reply: | 4 years, 8 weeks, 5 days ago | ||||||||||||
| Epic Link: | DOCSP-1769 | ||||||||||||
| Description |
DescriptionThis page: https://docs.mongodb.com/manual/reference/command/resetError/ does not mention that resetError is deprecated. https://docs.mongodb.com/manual/reference/method/db.resetError/#db.resetError says the db command is deprecated since 1.6. For comparison, https://docs.mongodb.com/manual/reference/command/getPrevError/ says it's deprecated since 3.6 and https://docs.mongodb.com/manual/reference/method/db.getPrevError/#db.getPrevError says it's deprecated since 1.6. Scope of changesInvestigating whether resetError is actually deprecated in the same way as getPrevError. If so, mark what version to consider resetError as deprecated.
Impact to Other DocsMVP (Work and Date)Resources (Scope or Design Docs, Invision, etc.) |
| Comments |
| Comment by Kay Kim (Inactive) [ 13/Dec/19 ] |
|
++Will publish changes on Monday |
| Comment by Githook User [ 13/Dec/19 ] |
|
Author: {'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}Message: |
| Comment by Githook User [ 13/Dec/19 ] |
|
Author: {'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}Message: |
| Comment by Githook User [ 13/Dec/19 ] |
|
Author: {'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}Message: |
| Comment by Githook User [ 13/Dec/19 ] |
|
Author: {'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}Message: |
| Comment by Ravind Kumar (Inactive) [ 26/Nov/18 ] |
|
I can mark the commands and their shell helpers as 'deprecated and will be removed in a future version'. If I remember I'll open a SERVER ticket to call out resetError and link it to Thanks all. |
| Comment by Asya Kamsky [ 26/Nov/18 ] |
|
Yes, since the command has no purpose without getLastError/getPrevError it should be deprecated/removed along with them. |
| Comment by Kaloian Manassiev [ 26/Nov/18 ] |
|
CC asya to answer this question. |
| Comment by Ravind Kumar (Inactive) [ 20/Nov/18 ] |
|
Is resetError actually deprecated? I don't see it commented with any deprecation warnings in code. For getPrevError, discussions around kaloian.manassiev can you shed some light on this? |