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

Reintroduce numInitialChunks parameter (IDL only) to maintain backward compatibility

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

      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.

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

              Created:
              Updated:
              Resolved: