[SERVER-15882] implement insert into system.indexes codepath using createIndexes command Created: 30/Oct/14  Updated: 20/Jan/15  Resolved: 05/Nov/14

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: None
Fix Version/s: 2.8.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Eric Milkie Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-16930 remove unnecessary fatal assertion wh... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

In instance.cpp:
receivedInsert() should call into createIndexes command logic.
checkAndInsert() should fassert if it is called to insert into system.indexes.

Note: in batch_executor.cpp, singleCreateIndex() needs a similar modification. The error handling is different than for receivedInsert() but the rest of the logic should be the same.



 Comments   
Comment by Githook User [ 05/Nov/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-15882 Route inserts to system.indexes through the createIndexes command processor.
Branch: master
https://github.com/mongodb/mongo/commit/f95d813fba8b9a159ba10ffe5238a158caf29074

Comment by Githook User [ 05/Nov/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-15882 Get rid of ensureIndex in dbtests.
Branch: master
https://github.com/mongodb/mongo/commit/d324cff2fccfd7f2f1397093e01a1eb4af9a3e52

Comment by Githook User [ 05/Nov/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-15882 Delete dbtests/perf/perftest, which doesn't actually work.
Branch: master
https://github.com/mongodb/mongo/commit/852dc8839cebeb425fb668d2e043f23d7de67e54

Comment by Githook User [ 05/Nov/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-15882 Remove dead index creation/deletion operations from AuthzManagerExternalState.
Branch: master
https://github.com/mongodb/mongo/commit/5266e7f0f23b8cf305280719d3d0e34df800b9f5

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