Hi @matthewb,
I stopped Node 2, Node 3 then run the same commands in Node 1.
The log in Node 1 seems not any error, but when I start Node 2 again, then there is error in Node 2:
2024-03-08T03:00:10.202300Z 10 [Note] [MY-000000] [Galera] ================================================
View:
id: 49c05c69-dcf4-11ee-bb3a-9f01679837bd:13
status: primary
protocol_version: 4
capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
final: no
own_index: -1
members(1):
0: 118513ec-dcf5-11ee-87da-a734e6da907b, 192.168.102.11
=================================================
2024-03-08T03:00:10.202374Z 0 [Note] [MY-000000] [Galera] ####### Passing IST CC 16, must_apply: 1, preload: true
2024-03-08T03:00:10.202371Z 10 [Note] [MY-000000] [WSREP] wsrep_notify_cmd is not defined, skipping notification.
2024-03-08T03:00:10.202513Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060
2024-03-08T03:00:10.202627Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.35-27.1' socket: '/var/lib/mysql/mysql.sock' port: 3306 Percona XtraDB Cluster (GPL), Release rel27, Revision 84d9464, WSREP version 26.1.4.3.
2024-03-08T03:00:10.207368Z 12 [ERROR] [MY-010584] [Repl] Replica SQL: Error 'GRANT ... AS is currently supported only for global privileges.' on query. Default database: ''. Query: 'GRANT INSERT, UPDATE, DELETE ON `my-database`.`tablenamefoo` TO 'user'@'%' AS 'root'@'localhost' WITH ROLE NONE', Error_code: MY-003835
2024-03-08T03:00:10.207458Z 12 [Warning] [MY-000000] [WSREP] Event 1 Query apply failed: 1, seqno 14
2024-03-08T03:00:10.210095Z 12 [ERROR] [MY-000000] [Galera] Inconsistency detected: Failed on preordered 49c05c69-dcf4-11ee-bb3a-9f01679837bd:14: inconsistency.
at /mnt/jenkins/workspace/pxc80-autobuild-RELEASE/test/percona-xtradb-cluster-8.0.35-27/percona-xtradb-cluster-galera/galera/src/replicator_smm.cpp:process_apply_error():1454
2024-03-08T03:00:10.211372Z 12 [Note] [MY-000000] [Galera] Closing send monitor...
2024-03-08T03:00:10.211397Z 12 [Note] [MY-000000] [Galera] Closed send monitor.
2024-03-08T03:00:10.211411Z 12 [Note] [MY-000000] [Galera] gcomm: terminating thread
2024-03-08T03:00:10.211433Z 12 [Note] [MY-000000] [Galera] gcomm: joining thread
2024-03-08T03:00:10.211536Z 12 [Note] [MY-000000] [Galera] gcomm: closing backend
2024-03-08T03:00:11.214343Z 12 [Note] [MY-000000] [Galera] Current view of cluster as seen by this node
view (view_id(NON_PRIM,118513ec-87da,10)
memb {
f7ae3c87-a95a,0
}
joined {
}
left {
}
partitioned {
118513ec-87da,0
}
)
2024-03-08T03:00:11.214417Z 12 [Note] [MY-000000] [Galera] PC protocol downgrade 1 -> 0
2024-03-08T03:00:11.214438Z 12 [Note] [MY-000000] [Galera] Current view of cluster as seen by this node
view ((empty))
2024-03-08T03:00:11.214641Z 12 [Note] [MY-000000] [Galera] gcomm: closed
2024-03-08T03:00:11.214686Z 0 [Note] [MY-000000] [Galera] New COMPONENT: primary = no, bootstrap = no, my_idx = 0, memb_num = 1
2024-03-08T03:00:11.214743Z 0 [Note] [MY-000000] [Galera] Flow-control interval: [100, 100]
2024-03-08T03:00:11.214760Z 0 [Note] [MY-000000] [Galera] Received NON-PRIMARY.
2024-03-08T03:00:11.214772Z 0 [Note] [MY-000000] [Galera] Shifting JOINER -> OPEN (TO: 16)
2024-03-08T03:00:11.214786Z 0 [Note] [MY-000000] [Galera] New SELF-LEAVE.
2024-03-08T03:00:11.214806Z 0 [Note] [MY-000000] [Galera] Flow-control interval: [0, 0]
2024-03-08T03:00:11.214819Z 0 [Note] [MY-000000] [Galera] Received SELF-LEAVE. Closing connection.
2024-03-08T03:00:11.214830Z 0 [Note] [MY-000000] [Galera] Shifting OPEN -> CLOSED (TO: 16)
2024-03-08T03:00:11.214842Z 0 [Note] [MY-000000] [Galera] RECV thread exiting 0: Success
2024-03-08T03:00:11.214912Z 12 [Note] [MY-000000] [Galera] recv_thread() joined.
2024-03-08T03:00:11.214931Z 12 [Note] [MY-000000] [Galera] Closing replication queue.
2024-03-08T03:00:11.214943Z 12 [Note] [MY-000000] [Galera] Closing slave action queue.
2024-03-08T03:00:11.215502Z 11 [ERROR] [MY-010584] [Repl] Replica SQL: Error 'GRANT ... AS is currently supported only for global privileges.' on query. Default database: ''. Query: 'GRANT INSERT, UPDATE, DELETE ON `my-database`.`tablenamefoo` TO 'user'@'%' AS 'root'@'localhost' WITH ROLE NONE', Error_code: MY-003835
2024-03-08T03:00:11.215559Z 11 [Warning] [MY-000000] [WSREP] Event 1 Query apply failed: 1, seqno 15
2024-03-08T03:00:11.218581Z 0 [Note] [MY-000000] [Galera] REPL Protocols: 10 (5)
2024-03-08T03:00:11.218615Z 0 [Note] [MY-000000] [Galera] ####### Adjusting cert position: 15 -> 16
2024-03-08T03:00:11.218662Z 0 [Note] [MY-000000] [Galera] Service thread queue flushed.
2024-03-08T03:00:11.218713Z 0 [Note] [MY-000000] [Galera] Recording CC from ist: 16
2024-03-08T03:00:11.218732Z 0 [Note] [MY-000000] [Galera] Lowest cert index boundary for CC from ist: 8
2024-03-08T03:00:11.218744Z 0 [Note] [MY-000000] [Galera] Min available from gcache for CC from ist: 2
2024-03-08T03:00:11.218802Z 0 [Note] [MY-000000] [Galera] Receiving IST...100.0% (9/9 events) complete.
2024-03-08T03:00:11.218812Z 1 [Note] [MY-000000] [Galera] ================================================
View:
id: 49c05c69-dcf4-11ee-bb3a-9f01679837bd:16
status: primary
protocol_version: 4
capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
final: no
own_index: 1
members(2):
0: 118513ec-dcf5-11ee-87da-a734e6da907b, 192.168.102.11
1: f7ae3c87-dcf7-11ee-a95a-9388344592a1, 192.168.102.12
=================================================
2024-03-08T03:00:11.218863Z 1 [Note] [MY-000000] [WSREP] Server status change initialized -> joined
2024-03-08T03:00:11.218883Z 1 [Note] [MY-000000] [WSREP] wsrep_notify_cmd is not defined, skipping notification.
2024-03-08T03:00:11.218907Z 1 [Note] [MY-000000] [WSREP] wsrep_notify_cmd is not defined, skipping notification.
2024-03-08T03:00:11.222592Z 1 [Note] [MY-000000] [Galera] Draining apply monitors after IST up to 16
2024-03-08T03:00:11.222627Z 1 [Note] [MY-000000] [Galera] IST received: 49c05c69-dcf4-11ee-bb3a-9f01679837bd:16
2024-03-08T03:00:11.222667Z 1 [Warning] [MY-000000] [Galera] Failed to JOIN the cluster after SST gcs_join(49c05c69-dcf4-11ee-bb3a-9f01679837bd:16) failed: 77 (File descriptor in bad state)
at /mnt/jenkins/workspace/pxc80-autobuild-RELEASE/test/percona-xtradb-cluster-8.0.35-27/percona-xtradb-cluster-galera/galera/src/galera_gcs.hpp:join():220
2024-03-08T03:00:11.222686Z 1 [Note] [MY-000000] [Galera] Recording CC from sst: 16
2024-03-08T03:00:11.222698Z 1 [Note] [MY-000000] [Galera] Lowest cert index boundary for CC from sst: 8
2024-03-08T03:00:11.222709Z 1 [Note] [MY-000000] [Galera] Min available from gcache for CC from sst: 2
2024-03-08T03:00:11.222756Z 1 [Note] [MY-000000] [Galera] ================================================
View:
id: 49c05c69-dcf4-11ee-bb3a-9f01679837bd:16
status: non-primary
protocol_version: 4
capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
final: no
own_index: 0
members(1):
0: f7ae3c87-dcf7-11ee-a95a-9388344592a1, 192.168.102.12
=================================================
2024-03-08T03:00:11.222773Z 1 [Note] [MY-000000] [Galera] Non-primary view
2024-03-08T03:00:11.222784Z 1 [Note] [MY-000000] [WSREP] Server status change joined -> connected
2024-03-08T03:00:11.222795Z 1 [Note] [MY-000000] [WSREP] wsrep_notify_cmd is not defined, skipping notification.
2024-03-08T03:00:11.222809Z 1 [Note] [MY-000000] [WSREP] wsrep_notify_cmd is not defined, skipping notification.
2024-03-08T03:00:11.222835Z 1 [Note] [MY-000000] [Galera] ================================================
View:
id: 49c05c69-dcf4-11ee-bb3a-9f01679837bd:16
status: non-primary
protocol_version: 4
capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
final: yes
own_index: -1
members(0):
=================================================
2024-03-08T03:00:11.222849Z 1 [Note] [MY-000000] [Galera] Non-primary view
2024-03-08T03:00:11.222859Z 1 [Note] [MY-000000] [WSREP] Server status change connected -> disconnected
2024-03-08T03:00:11.222868Z 1 [Note] [MY-000000] [WSREP] wsrep_notify_cmd is not defined, skipping notification.
2024-03-08T03:00:11.222886Z 1 [Note] [MY-000000] [WSREP] wsrep_notify_cmd is not defined, skipping notification.
2024-03-08T03:00:11.222901Z 1 [Note] [MY-000000] [Galera] Waiting 600 seconds for 4 receivers to finish
2024-03-08T03:00:11.228975Z 12 [Note] [MY-000000] [Galera] Slave thread exit. Return code: 6
2024-03-08T03:00:11.228990Z 10 [Note] [MY-000000] [Galera] Slave thread exit. Return code: 6
2024-03-08T03:00:11.228979Z 11 [Note] [MY-000000] [Galera] Slave thread exit. Return code: 6
2024-03-08T03:00:11.229006Z 12 [Note] [MY-000000] [WSREP] Applier thread exiting ret: 6 thd: 12
2024-03-08T03:00:11.229028Z 10 [Note] [MY-000000] [WSREP] Applier thread exiting ret: 6 thd: 10
2024-03-08T03:00:11.229055Z 11 [Note] [MY-000000] [WSREP] Applier thread exiting ret: 6 thd: 11
2024-03-08T03:00:11.229392Z 0 [Note] [MY-000000] [Galera] Service thread queue flushed.
2024-03-08T03:00:11.229440Z 1 [Note] [MY-000000] [Galera] ####### Assign initial position for certification: 00000000-0000-0000-0000-000000000000:-1, protocol version: 5
2024-03-08T03:00:11.229465Z 1 [Note] [MY-000000] [Galera] Slave thread exit. Return code: 0
2024-03-08T03:00:11.229478Z 1 [Note] [MY-000000] [WSREP] Applier thread exiting ret: 0 thd: 1