[DRIVERS-726] Deprecate CodeWScope for use within the mapReduce command Created: 23/Aug/19 Updated: 27/May/22 Resolved: 18/Feb/20 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Backlog - Core Eng Program Management Team | Assignee: | Bernie Hackett |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Server Compat: | 4.2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Downstream Change Summary CodeWScope will be deprecated in MapReduce and will log a message saying so. This is in preparation for 4.4 when CodeWScope will not be supported in MapReduce. Drivers should deprecate any types or parameters related to CodeWScope with a message similar to the server log warning:
|
| Comments |
| Comment by Bernie Hackett [ 18/Feb/20 ] |
|
I'm closing this won't fix. We're not deprecating the CodeWScope BSON type, and can't easily deprecate a BSON type in the context of a particular command. We'll rely on the server to error with a useful message in this case. |