Follow #33045. There are two updates on `Set Merged`, which should be in one transaction. This also introduced some refactors for changeissuestatus to make it more clear.
DEFAULT_MIRROR_REPO_UNITS
DEFAULT_TEMPLATE_REPO_UNITS