getServerName is not descriptive anymore. Change it to getPrimaryShardIdForDatabase.
This leads to refactoring getServer to getPrimaryShard as well.
getServerName is not descriptive anymore. Change it to getPrimaryShardIdForDatabase.
This leads to refactoring getServer to getPrimaryShard as well.