Commit 745449d
committed
BUG#37613510: Ever growing GR Transactions Rows Validating after secondary joins the group
Group Replication start operation checks if there are partial
transactions on the `group_replication_applier` channel from a
previous group participation. If partial transactions are found,
`group_replication_applier` channel is stopped after applying all
complete transactions, its relay logs purged and then the channel is
restarted. After this step, distributed recovery kicks-in and
applies the missing data from a group member.
The Group Replication pipeline operation to stop the
`group_replication_applier` channel was incorrectly stopping the
periodic task from the certifier module, which was causing that some
periodic internal operations were not taking place.
One of the tasks that was not happening was the periodic send of the
committed transactions, which omission was preventing the
certification info garbage collection, which on its turn was causing
the continuous increase of the column
COUNT_TRANSACTIONS_ROWS_VALIDATING of the table
performance_schema.replication_group_member_stats.
To solve the above issue, the pipeline operation to stop the
`group_replication_applier` channel now does not interfere with the
certifier module.
Change-Id: I1a4c2f7a5b6d0ca65caf43eeae38103a17b2d5ec1 parent afadc5c commit 745449d
File tree
6 files changed
+30
-32
lines changed- mysql-test/suite/group_replication
- r
- t
- plugin/group_replication
- include
- src
- handlers
6 files changed
+30
-32
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
95 | 99 | | |
96 | 100 | | |
97 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | 152 | | |
157 | | - | |
| 153 | + | |
158 | 154 | | |
159 | 155 | | |
160 | 156 | | |
| |||
241 | 237 | | |
242 | 238 | | |
243 | 239 | | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | 240 | | |
254 | 241 | | |
255 | 242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
89 | 92 | | |
90 | 93 | | |
91 | 94 | | |
| |||
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
101 | | - | |
| 104 | + | |
102 | 105 | | |
103 | 106 | | |
104 | 107 | | |
105 | 108 | | |
106 | 109 | | |
107 | | - | |
| 110 | + | |
108 | 111 | | |
109 | 112 | | |
110 | 113 | | |
| |||
122 | 125 | | |
123 | 126 | | |
124 | 127 | | |
125 | | - | |
126 | | - | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| |||
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| 147 | + | |
| 148 | + | |
146 | 149 | | |
147 | 150 | | |
148 | 151 | | |
| |||
196 | 199 | | |
197 | 200 | | |
198 | 201 | | |
| 202 | + | |
| 203 | + | |
199 | 204 | | |
200 | 205 | | |
201 | 206 | | |
| |||
306 | 311 | | |
307 | 312 | | |
308 | 313 | | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
309 | 318 | | |
310 | 319 | | |
311 | 320 | | |
| |||
316 | 325 | | |
317 | 326 | | |
318 | 327 | | |
319 | | - | |
320 | 328 | | |
321 | 329 | | |
322 | 330 | | |
| |||
640 | 648 | | |
641 | 649 | | |
642 | 650 | | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | 651 | | |
653 | 652 | | |
654 | 653 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | 99 | | |
102 | 100 | | |
103 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12316 | 12316 | | |
12317 | 12317 | | |
12318 | 12318 | | |
| 12319 | + | |
| 12320 | + | |
| 12321 | + | |
| 12322 | + | |
| 12323 | + | |
| 12324 | + | |
| 12325 | + | |
| 12326 | + | |
| 12327 | + | |
12319 | 12328 | | |
12320 | 12329 | | |
12321 | 12330 | | |
| |||
0 commit comments