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

Add a jstest to cover the compatibility between DDL coordinator code and recovery documents across FCV versions

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sharding EMEA 2022-09-05, Sharding EMEA 2022-09-19

      As part of PM-2933, the team is moving from the DDL shard command classes to the DDL coordinator one the logic to determine whether a user request is targeting an existing timeseries sharded collection.

      Such change has effects on the value of the `namespace` field stored in the DDL recovery document as part of the operation identifier, which in case of timeseries collection may contain:

      • FCV 6.1: the value of the view namespace
      • FCV 6.0: the value of the buckets namespace

      The server code (thanks to the modifications introduced by SERVER-68384) is expected to correctly handle the recovery of DDL operations under the following scenarios:

      • FCV 6.1 re-executing a DDL request based on a recovery document generated by FCV 6.0 code
      • FCV 6.0 re-executing a DDL request based on a recovery document generated by FCV 6.1 code

      but we lack the needed jstest to cover this.

            Assignee:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Reporter:
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: