Bug #100906 cannot execute read-only transaction when group_replication in ERROR state
| Submitted: | 22 Sep 2020 8:38 | Modified: | 30 Oct 2020 11:12 |
|---|---|---|---|
| Reporter: | phoenix Zhang (OCA) | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server: Group Replication | Severity: | S2 (Serious) |
| Version: | 8.0.18, 8.0.21 | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[22 Sep 2020 8:38]
phoenix Zhang
[22 Sep 2020 8:42]
phoenix Zhang
group_replication_consistency=before_and_after in my test
[22 Sep 2020 9:00]
phoenix Zhang
when query information_schema.tables, it will still throw same error, as below: mysql> select * from information_schema.tables; ERROR 3796 (HY000): The option group_replication_consistency cannot be used on the current member state. So, why should information_schema affect by group_replication ?
[22 Sep 2020 10:04]
MySQL Verification Team
Hello phoenix Zhang! Thank you for the report. regards, Umesh
[22 Sep 2020 10:06]
MySQL Verification Team
MySQL Server 8.0.21 test results
Attachment: 100906_8.0.21.results (application/octet-stream, text), 17.92 KiB.
[30 Oct 2020 11:10]
Jaideep Karande
The restriction is as per design. I_S table has many tables with metadata information which is subjected to change with ongoing transactions in a group. So with higher consistency, it is better to block I_S tables in the non-online state. If you still want to run a query, please use EVENTUAL consistency (at SESSION level possible).
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.056 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.