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

sharding/SERVER-7379.js fails with a mixed version cluster

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 2.8.0-rc5
    • Fix Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      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 case from SERVER-7379, the line that reads:

      assert.writeError(offerChange.update({ _id: 123 },                                   
                                           { _id: 123, categoryId: 9881, store: "NEWEST" },
                                           true, false));                                  

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              renctan Randolph Tan
              Reporter:
              matt.dannenberg Matt Dannenberg
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: