Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-706

Initial sync of a 1.8.4 secondary can copy v:1 indexes which it cannot use

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      After syncing a 1.8.4 node from a 2.0.5 node, we get the following result:

      testreplset:PRIMARY> db.foo.getIndexes()
      [
      {
      "name" : "id",
      "ns" : "test.foo",
      "key" :

      { "_id" : 1 }

      ,
      "v" : 0
      },
      {
      "v" : 1,
      "key" :

      { "x" : 1 }

      ,
      "ns" : "test.foo",
      "name" : "x_1"
      }
      ]
      testreplset:PRIMARY> db.serverStatus().version
      1.8.4
      testreplset:PRIMARY>

      Add a note to http://www.mongodb.org/display/DOCS/Index+Versions that this is another situation that requires reindexing, as 1.8.4 cannot use the new indexes.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sverch Shaun Verch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11 years, 16 weeks ago