[DOCS-11511] pushAll completely removed in 3.6 does not respect featureCompatibilityVersion 3.4 Created: 30/Mar/18 Updated: 30/Oct/23 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual, Server |
| Affects Version/s: | 3.6.3 |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Sam Johnson | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 1 year, 14 weeks, 2 days ago |
| Epic Link: | DOCSP-1769 |
| Description |
|
The modifier "$pushAll" was completely removed in the 3.6 upgrade by commit 5368ddee0e72af3283e2591f751a5b79925e64d0. Even if you have featureCompatibilityVersion set to 3.4, pushAll still is broken since the code is not there. I believe this breaks the 'contract' of upgrading/compatibility set here: https://docs.mongodb.com/manual/release-notes/3.6-compatibility/. It seems to me that to have a truly 3.4 compatible version you would need to have this modifier feature flagged and then removed in 3.8 and the compatibility version is set to 3.6. If nothing else, I believe that the documentation should be updated to reflect the fact that this does not work even with version set to 3.4. |
| Comments |
| Comment by Education Bot [ 31/Oct/22 ] |
|
Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you! |
| Comment by Sam Johnson [ 30/Mar/18 ] |
|
Okay, fair enough. Just thought the documentation could be more clear. |
| Comment by Asya Kamsky [ 30/Mar/18 ] |
|
sjohnson540 please note that compatibility version exists to prevent usage of new features that would create data on disk that's incompatible with previous version (and therefore would make it difficult to downgrade the deployment). It does not mean that the node will accept everything 3.4 previously accepted nor behave identically to 3.4. |
| Comment by Asya Kamsky [ 30/Mar/18 ] |
|
According to all our docs, $pushAll has been deprecated since version 2.4 (not a typo, 2.4 which was released spring of 2013). I believe the whole point of deprecated features is they are expected to disappear in a future release. |