[SERVER-50442] Remove ensureIndex shell function Created: 21/Aug/20  Updated: 29/Oct/23  Resolved: 17/Nov/20

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

Type: Improvement Priority: Major - P3
Reporter: Nikita Lapkov (Inactive) Assignee: Rishab Joshi (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng, qexec-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Documented
is documented by DOCS-13849 Investigate changes in SERVER-50442: ... Closed
Problem/Incident
Related
Backwards Compatibility: Minor Change
Sprint: Query 2020-11-30
Participants:
Linked BF Score: 0

 Description   

Documentation (https://docs.mongodb.com/manual/reference/method/db.collection.ensureIndex/) says that ensureIndex is deprecated since 3.0.0. Given the fact that it is now just an alias to createIndex, it can be removed



 Comments   
Comment by Githook User [ 17/Nov/20 ]

Author:

{'name': 'Rishab Joshi', 'email': 'rishab.joshi@mongodb.com'}

Message: SERVER-50442 Remove ensureIndex shell function

This commit replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell""
Branch: master
https://github.com/mongodb/mongo/commit/4329ffafa3ef2f9ea40b7ff17a6af8604720de12

Comment by Githook User [ 12/Nov/20 ]

Author:

{'name': 'Arun Banala', 'email': 'arun.banala@mongodb.com', 'username': 'banarun'}

Message: Revert "SERVER-50442 Remove ensureIndex shell function This commit also replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell"

This reverts commit e69c967ff8b53634770438dfe9a5c7d13548351b.
Branch: master
https://github.com/mongodb/mongo/commit/7c196029e8529d8d217a4c9314d8a4e6069a91d2

Comment by Githook User [ 12/Nov/20 ]

Author:

{'name': 'Rishab Joshi', 'email': 'rishab.joshi@mongodb.com'}

Message: SERVER-50442 Remove ensureIndex shell function This commit also replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell
Branch: master
https://github.com/mongodb/mongo/commit/e69c967ff8b53634770438dfe9a5c7d13548351b

Generated at Thu Feb 08 05:22:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.