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

UpdateLifecycleImpl can return empty collectionMetadata even if ns is sharded

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.8.0-rc5
    • 2.6.8, 3.0.0-rc7
    • Sharding
    • Fully Compatible
    • ALL

    Description

      Original description:
      sharding/array_shard_key.js fails with a mixed version cluster

      If you run the set with a config as follows:

      var config = {                                              
              mongos: 2,                                          
              shards: 2,                                          
              other: {                                            
                  rs: true,                                      
                  mongosOptions: { binVersion: "2.8"},       
                  configOptions: { binVersion: oldVersion},       
                  rsOptions: {binVersion: ["2.6"], nodes:3}
              }                                                                       
          };                                                      

      The test will fail on the line that reads:

      assert.writeError(coll.update( value, Object.merge( value, { i : [ 3 ] } ) ));

      Attachments

        Issue Links

          Activity

            People

              randolph@mongodb.com Randolph Tan
              matt.dannenberg Matt Dannenberg
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: