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

Resharding always write new collection timestamp

    • Fully Compatible
    • v5.0
    • Sharding EMEA 2021-08-09

      In SERVER-58589 we removed the ShardingFullDDLSupportTimestampedVersion flag so that we always use timestamps in collection metadata.

      We forgot to cleanup some resharding code that still support the old metadata format. In particular the writeDecisionPersistedState still accepts a boost:optional<Timestamp> when there must not be a case in which we don't have an actual timestamp.

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

              Created:
              Updated:
              Resolved: