WL#10433: Group Replication: Member weight for automatic primary election on failover

Affects: Server-8.0   —   Status: Complete

PROBLEM STATEMENT
=================
Currently the user doesn't have any option to control the outcome of the
primary election algorithm in single-primary mode. The primary member is
selected based on lowest server uuid.


PROPOSED SOLUTIONS
==================
This worklog will enable the user to influence the primary member election in
single-primary mode by providing a member weight value for each member node.
This member weight value will be used for electing primary member instead of
member uuid which was getting used so far.

This allows users to:
- Select a specific primary for the next election (e.g. planned maintenance
  on current primary).
- Ensure that primaries are always in the local/primary Data Center.
- Ensure that primaries are always on a "bigger machine profile".