[SERVER-36714] Update document_source_out_replace_coll.cpp to use createIndexes, rather than an insert on a system.indexes collection Created: 17/Aug/18  Updated: 29/Oct/23  Resolved: 23/Aug/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.1.3

Type: Task Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Dianna Hohensee (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-36015 Remove references to system.namespace... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-08-27
Participants:

 Description   

Part of system.indexes removal in SERVER-36015.

document_source_out_replace_coll.cpp ostensibly does an insert in a system.indexes collection to create indexes. Our write cmd catches it and instead of performing the system.indexes write performs createIndexes. Replication replicates a createIndexes oplog entry, not an insert.



 Comments   
Comment by Githook User [ 23/Aug/18 ]

Author:

{'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@10gen.com', 'username': 'DiannaHohensee'}

Message: SERVER-36714 update DocumentSourceOutReplaceColl::initializeWriteNs to use createIndexes rather than a system.indexes insert
Branch: master
https://github.com/mongodb/mongo/commit/5ddf4d517a45229f9b395186e5e4bba7e9636fdc

Generated at Thu Feb 08 04:43:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.