[SERVER-69365] Add support for updating indices in Collection::updateWithDamages Created: 01/Sep/22  Updated: 29/Oct/23  Resolved: 19/Sep/22

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

Type: Improvement Priority: Major - P3
Reporter: Jordi Olivares Provencio Assignee: Jordi Olivares Provencio
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-69396 Modify time-series inserts to use dam... Blocked
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-09-19, Execution Team 2022-10-03
Participants:

 Description   

The method for updating with damages does not support updating indices with the resulting new document. This limits its valid use-cases to only trivial modifications.

The general updateRecord method does support updating indices.

Ideally we should bring feature parity between the two methods to not discriminate against one or the other.



 Comments   
Comment by Githook User [ 19/Sep/22 ]

Author:

{'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}

Message: SERVER-69365 Support updating indices in updateWithDamages
Branch: master
https://github.com/mongodb/mongo/commit/0a4a4a8239993fe2203059b3d5228dfcef57b1c3

Generated at Thu Feb 08 06:13:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.