Revert "osd/OSDMap: allow bidirectional swap of pg-upmap-items" #17760
This reverts commit 09af9b8.
We need to prevent duplicates in the final result. For example, we
The rest of the system is not prepared to handle duplicates in the
The reverted commit was intended to allow
[1,2,3] and [(1,2),(2,1)] to get [2,1,3]
to reorder primaries. First, this bidirectional swap is hard to implement