My Oracle Support Banner

[ERROR] [MY-013223] [Repl] The function 'group_replication_set_as_primary' failed. There is a replica channel running in the group's current primary member. (Doc ID 2712142.1)

Last updated on MAY 25, 2021

Applies to:

MySQL Server - Version 8.0 and later
Information in this document applies to any platform.

Symptoms

Disclaimer: Starting from v8.0, some terms have been deprecated. Older releases will only use the deprecated terminology, and new releases will only use new terminology. Please see https://dev.mysql.com/doc/mysqld-version-reference/en/ for a complete list of those changes, and in which minor versions it happened.

When executing setPrimaryInstance() command via mysqlsh, mysqlsh reports "The instance 'HOSTNAME/IP:PORT' was successfully elected as primary." , while the primary doesn't get switched to the other nodes and still remains as "Primary".
You will receive the following error in the error log:

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.