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

Add testing suite for multiversion embedded CSRS deployments

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2024-09-30, CAR Team 2024-10-28, CAR Team 2024-11-11, CAR Team 2024-11-25
    • 2

      The current upgrade mechanism for the database relies on the following ordering of binary upgrades:

      • We first upgrade the config shard binaries
      • We then upgrade the data shard binaries
      • We then upgrade mongos binaries

      With the possibility of having an embedded config shard we've now broken this assumption as a data shard might contain the config shard. As a result, a data shard running a newer binary can contact the config shard running an older binary within the same ReplicaSet. This can be more or less be seen with a secondary node having a newer binary stepping up to become a primary and then contacting a secondary with the older binary.

      We currently do not have a testing suite that checks the behavior of the server with mixed version deployments and stepdowns occurring. We should ideally address this so we can catch errors before going to the user.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: