Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-17425

Disallow creation of v0 indexes

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.9
    • Affects Version/s: None
    • Component/s: Index Maintenance, Storage
    • None
    • Minor Change
    • QuInt 8 08/28/15, Quint 9 09/18/15, QuInt A (10/12/15)

      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.

            Assignee:
            dan@mongodb.com Daniel Pasette (Inactive)
            Reporter:
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: