[SERVER-17425] Disallow creation of v0 indexes Created: 02/Mar/15  Updated: 22/Mar/17  Resolved: 22/Sep/15

Status: Closed
Project: Core Server
Component/s: Index Maintenance, Storage
Affects Version/s: None
Fix Version/s: 3.1.9

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

Issue Links:
Depends
depends on DOCS-6249 Provide endpoint for v:0 deprecation ... Closed
Related
is related to CXX-707 don't run tests that create v0 indexe... Closed
is related to SERVER-22987 Remove support for v0 indexes Closed
Backwards Compatibility: Minor Change
Sprint: QuInt 8 08/28/15, Quint 9 09/18/15, QuInt A (10/12/15)
Participants:

 Description   

Continue process of completing removing v0 indexes, which have been deprecated since v2.0. v0 indexes are already forbidden completely in v3.0 for non-mmap storage engine users.

It is currently possible to create new v0 indexes by explicitly passing v:0 into ensureIndex. However, if a new replica set member is brought up, it will be converted to v:1 during initial sync.

This ticket captures work to completely disallow explicit creation of v:0 indexes.



 Comments   
Comment by Githook User [ 25/Sep/15 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-17425 Clarify v:0 index deprecation message
Branch: master
https://github.com/mongodb/mongo/commit/5d61c29a0d81216a642d83e26adf83e96f081190

Comment by Daniel Pasette (Inactive) [ 22/Sep/15 ]

This requires a dochub endpoint to explain to users how to upgrade their index version and needs to be mentioned in the release notes.

Comment by Githook User [ 22/Sep/15 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-17425 Disallow creation of v0 indexes
Branch: master
https://github.com/mongodb/mongo/commit/895db3539016bc9c0bba76c2505c7878a1fbb9ff

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