[SERVER-74978] Stop using upsert statements while committing placement metadata as part of a chunk migration Created: 17/Mar/23  Updated: 29/Oct/23  Resolved: 17/Mar/23

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

Type: Task Priority: Major - P3
Reporter: Paolo Polato Assignee: Paolo Polato
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-03-20
Participants:

 Description   

The changes introduced by SERVER-74469 are now guaranteeing that each chunk migration will be committed with a unique value for the validAfter field.
This will allow to simplify its commit statement that persists placement for the parent collection, switching from an upsert to an insert.



 Comments   
Comment by Githook User [ 17/Mar/23 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-74978 Use insert statement to persist placement info on chunk migration commit
Branch: master
https://github.com/mongodb/mongo/commit/d059b520e57ace9734626b40c8a49e244b01dd78

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