Info
Currently, the movePrimary command takes a distlock identified by database name and command name. This ticket makes it take the database name distlock to avoid concurrency issues with other metadata commands.
Top User Comments
jessica.yu commented on Thu, 13 Jul 2017 17:45:55 +0000:
Keeping distributed lock as is in movePrimary for backwards compatibility; see SERVER-30019 for planned locking changes.