How to prevent the MEMBER_ROLE from being changed

ikeda <[email protected]> Thu, 10 Jun 2021 02:26:34 -0700 (PDT)
Newsgroups comp.databases.mysql
Message-ID <[email protected]>
Is there a way to configure a server configured with single_primary_mode so that the SECONDARY server does not automatically become PRIMARY when the PRIMARY server fails?

※The reason I'm using this configuration is that I'm planning to set up group replication and change the settings later.

I appreciate any guidance or advice you can give me.
Thanks,

Ryo Ikeda