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

Reintroduce numInitialChunks parameter (IDL only) to maintain backward compatibility

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0, 7.2.0-rc2
    • 7.2.0-rc1
    • None
    • None
    • Fully Compatible
    • ALL
    • v7.2
    • CAR Team 2023-11-13
    • 35

    Description

      In SERVER-74747 we removed both:
       - The logic to support numInitialChunks parameter
       - The parameter itself from the requests IDL

      While starting from  7.2 is it totally fine to ignore the parameter, we can't really remove the parameter itself due to backward incompatibility with previous versions.

      In particular in 7.0 the mongos was always sending the __ _shardsvrShardCollection command with a default value 0. This means that request always contain numInitialChunk: 0 , while in 7.2 since we removed completely the parameter the request will not have this parameter at all.

      As a consequence the two requests do not match between one version and the other.

      Attachments

        Activity

          People

            tommaso.tocci@mongodb.com Tommaso Tocci
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: