[SERVER-59720] Correctly handle $rename in time-series metaField-only updates Created: 01/Sep/21  Updated: 29/Oct/23  Resolved: 01/Sep/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.4, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Gregory Noma Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Execution Team 2021-09-06
Participants:

 Description   

It is valid to rename a subfield of the metaField to a different subfield of the metaField, for instance {$rename: {tag.a: "tag.b"}}}. However, currently we're not properly handling the translation of the tag.b part of the update object.



 Comments   
Comment by Githook User [ 07/Oct/21 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-59720 Correctly handle $rename in time-series metaField-only updates

(cherry picked from commit 5de2aec4aee639d03b40bcb133ce1674693552af)
Branch: v5.0
https://github.com/mongodb/mongo/commit/3d09afb599a8cb32d1a78957572e5198477b4b46

Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 01/Sep/21 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-59720 Correctly handle $rename in time-series metaField-only updates
Branch: master
https://github.com/mongodb/mongo/commit/5de2aec4aee639d03b40bcb133ce1674693552af

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