[SERVER-70795] Modify rename to update the index catalog metadata Created: 24/Oct/22  Updated: 29/Oct/23  Resolved: 24/Jan/23

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

Type: Task Priority: Major - P3
Reporter: Marcos José Grillo Ramirez Assignee: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 0
Labels: PM-2583-Milestone-2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-66864 Add index version checks to versionin... Closed
is depended on by SERVER-70922 Modify drop collection to clear the s... Closed
Related
related to SERVER-73234 Fix TODO comment with wrong ticket ID Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-11-14, Sharding EMEA 2022-11-28, Sharding EMEA 2022-12-12, Sharding EMEA 2022-12-26, Sharding EMEA 2023-01-09, Sharding EMEA 2023-01-23, Sharding EMEA 2023-02-06
Participants:

 Description   

As part of rename, we need to bump the index version in the destination collection, so the router manage to find out about the DDL changes, specifically, if we have two collections A and B, with index versions T1 and T2 respectively, but T2 > T1, then renaming A to B would cause the routers to not know about the actual indexes of A.

This ticket also includes implementing the "bumping procedure", which includes adding a new operation in the currently implemented oplog type 'c' code.



 Comments   
Comment by Githook User [ 23/Jan/23 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-70795 Add sharding index catalog operations to rename collection
Branch: master
https://github.com/mongodb/mongo/commit/e4fff3e1fe7b31b25cedde7b05205325b47b4a7d

Comment by Marcos José Grillo Ramirez [ 25/Nov/22 ]

Passing ticket to allison.easton@mongodb.com because I'll be OOO for the next sprint.

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