[SERVER-25936] the shell index helpers should use "dropIndexes" command instead of "deleteIndexes" command Created: 01/Sep/16  Updated: 27/Dec/18  Resolved: 27/Dec/18

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 3.3.12
Fix Version/s: 4.1.7

Type: Improvement Priority: Minor - P4
Reporter: Robert Guo (Inactive) Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-37727 Enhance dropIndexes to accept multipl... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-12-31
Participants:

 Description   

The deleteIndexes command is deprecated.



 Comments   
Comment by Githook User [ 27/Dec/18 ]

Author:

{'username': 'benety', 'email': 'benety@mongodb.com', 'name': 'Benety Goh'}

Message: SERVER-25936 DBClientBase drops indexes using dropIndexes instead of deleteIndexes
Branch: master
https://github.com/mongodb/mongo/commit/07ba0c29a19d9648cc913927ecbbbe6240532576

Comment by Githook User [ 27/Dec/18 ]

Author:

{'username': 'benety', 'email': 'benety@mongodb.com', 'name': 'Benety Goh'}

Message: SERVER-25936 remove deleteIndexes references from tests
Branch: master
https://github.com/mongodb/mongo/commit/9da0e261619a4211a3ddee8c72ed2657c4c0d284

Comment by Robert Guo (Inactive) [ 27/Dec/18 ]

matt.lord This is changing what the shell helper calls under the hood, the name of the shell helper stays the same and there's no user-visible impact. I'll update the ticket title to be more descriptive.

Comment by Githook User [ 27/Dec/18 ]

Author:

{'username': 'benety', 'email': 'benety@mongodb.com', 'name': 'Benety Goh'}

Message: SERVER-25936 Collection.dropIndexes() shell helper uses dropIndexes instead of deleteIndexes
Branch: master
https://github.com/mongodb/mongo/commit/4e5f774eb0996831553bcc27e0ff35040d34dcad

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