The sharding_ddl_50_upgrade_downgrade logic had been introduced to handle the chunks metadata format during transitions to v5.0.
As v5.0 has branched out and the only allowed format in v5.1+ is Format::kUUIDOnlyWithTimestamps, all the ChunkEntryFormat references should be cleared up and the code simplified accordingly.
- related to
-
SERVER-53283 Remove code that patches-up sharding metadata on FCV upgrade/downgrade to/from 4.9
- Closed