wsrep_flow_control_sent/recv not a global counter?
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Galera | Status tracked in 3.x | |||||
2.x |
Won't Fix
|
Undecided
|
Unassigned | |||
3.x |
Fix Released
|
Wishlist
|
Alex Yurchenko | |||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | ||||||
5.5 |
Won't Fix
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I execute this on one node to trigger FC:
mysql> flush tables with read lock;
Query OK, 0 rows affected (0.00 sec)
I can see a flow control message being sent and the cluster enters the pause state
root@perconadbt ~]# myq_status wsrep
Wsrep Cluster Node Queue Ops Bytes Flow Conflct
time name P cnf # name cmt sta Up Dn Up Dn Up Dn pau snt dst lcf bfa
10:15:11 myclu P 15 3 node3 Sync T/T 0 0 0 38k 0 53M 0.0 0 196 0 0
10:15:13 myclu P 15 3 node3 Sync T/T 0 0 0 63 0 86K 0.0 0 202 0 0
10:15:14 myclu P 15 3 node3 Sync T/T 0 0 0 84 0 119K 0.0 0 187 0 0
10:15:15 myclu P 15 3 node3 Sync T/T 0 0 0 60 0 85K 0.0 0 191 0 0
10:15:16 myclu P 15 3 node3 Sync T/T 0 0 0 56 0 83K 0.0 0 199 0 0
10:15:17 myclu P 15 3 node3 Sync T/T 0 0 0 64 0 93K 0.0 0 192 0 0
10:15:18 myclu P 15 3 node3 Sync T/T 0 0 0 116 0 163K 0.0 0 186 0 0
10:15:19 myclu P 15 3 node3 Sync T/T 0 0 0 76 0 109K 0.0 0 179 0 0
10:15:20 myclu P 15 3 node3 Sync T/T 0 0 0 81 0 115K 0.0 0 184 0 0
10:15:21 myclu P 15 3 node3 Sync T/T 0 29 0 22 0 31K 0.1 1 190 0 0
10:15:23 myclu P 15 3 node3 Sync T/T 0 29 0 0 0 0 1.0 0 190 0 0
10:15:24 myclu P 15 3 node3 Sync T/T 0 29 0 0 0 0 1.0 0 190 0 0
10:15:25 myclu P 15 3 node3 Sync T/T 0 29 0 0 0 0 1.0 0 190 0 0
10:15:26 myclu P 15 3 node3 Sync T/T 0 29 0 0 0 0 1.0 0 190 0 0
10:15:27 myclu P 15 3 node3 Sync T/T 0 29 0 0 0 0 1.0 0 190 0 0
But, on that same node:
mysql> show global status like 'wsrep_
+------
| Variable_name | Value |
+------
| wsrep_flow_
| wsrep_flow_
| wsrep_flow_
+------
3 rows in set (0.00 sec)
Why is flow_control_sent 0 here?
I also noted flow_control_recv is 0 on other nodes.
I thought these were global counters?
Related branches
- David Bennett: Pending requested
- Diff: 0 lines
Changed in galera: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
no longer affects: | percona-xtradb-cluster |
Jay, at the momemtn these are not monotonically increasing:
> 10:15:20 myclu P 15 3 node3 Sync T/T 0 0 0 81 0 115K 0.0 0 184 0 0
> 10:15:21 myclu P 15 3 node3 Sync T/T 0 29 0 22 0 31K 0.1 1 190 0 0
> 10:15:23 myclu P 15 3 node3 Sync T/T 0 29 0 0 0 0 1.0 0 190 0 0
Basically you will (almost) always have sent=0 when paused=1.0