-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Execution Team 2023-02-06, Execution Team 2023-03-20, Execution Team 2023-04-03
-
None
-
None
-
None
-
None
-
None
-
None
-
None
It would improve readability to not share so much code between disparate cases in renameCollectionAcrossDatabases.
There are roughly 3 types of renames:
- replication turned off
- individual oplog inserts
- batched writes
Additionally, narrow down from 2 to 1 implementations of renameBetweenDBs/renameCollectionAcrossDatabases().