| 1 |
INSTALL COMPONENT "file://component_mysqlx_global_reset"; |
| 2 |
|
| 3 |
|
| 4 |
## I. Scenario that triggers issue described under: Bug#31742798 |
| 5 |
# |
| 6 |
# 1. Simulate Group-Replication notification (D1), and hang it |
| 7 |
# before processing clients |
| 8 |
# 2. Make a new X Connection (X2), and hang in after accepting. |
| 9 |
# This prevents the session from being created. Synchronization |
| 10 |
# points are going to execute thread in order causin crash |
| 11 |
# 3. Unblock X2, and validate that its possible to authenticate. |
| 12 |
|
| 13 |
# |
| 14 |
# I.1 |
| 15 |
Adding debug point 'xsync_gr_notice_bug' to @@GLOBAL.debug |
| 16 |
RUN DO emit_member_role_change("VIEW-ID") |
| 17 |
|
| 18 |
0 rows affected |
| 19 |
|
| 20 |
# |
| 21 |
# I.2 |
| 22 |
connecting... |
| 23 |
active session is now 'X2' |
| 24 |
|
| 25 |
# |
| 26 |
# I.3 |
| 27 |
switched to session default |
| 28 |
Removing debug point 'xsync_gr_notice_bug' from @@GLOBAL.debug |
| 29 |
switched to session X2 |
| 30 |
Login OK |
| 31 |
closing session X2 |
| 32 |
Mysqlx.Ok { |
| 33 |
msg: "bye!" |
| 34 |
} |
| 35 |
ok |
| 36 |
UNINSTALL COMPONENT "file://component_mysqlx_global_reset"; |