Commit aa61f56
[bugfix] Issue: #64 replication regression with RBR and partition tables
This patch is ported from MySQL upstream (commit id: 9414c7).
Bug#25687813 REPLICATION REGRESSION WITH RBR AND PARTITIONED TABLES
PROBLEM
-------
While applying update the slave is trying to initialize all partitions
before reading from rnd_pos() call. This is done for each row update
because of which the performance is getting effected.
FIX
---
Initialize only the partition on which rnd_pos() is called.1 parent 4ec960a commit aa61f56
3 files changed
+11
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4981 | 4981 | | |
4982 | 4982 | | |
4983 | 4983 | | |
4984 | | - | |
4985 | 4984 | | |
4986 | 4985 | | |
4987 | | - | |
4988 | | - | |
| 4986 | + | |
4989 | 4987 | | |
4990 | 4988 | | |
4991 | | - | |
4992 | 4989 | | |
4993 | 4990 | | |
4994 | 4991 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2457 | 2457 | | |
2458 | 2458 | | |
2459 | 2459 | | |
| 2460 | + | |
2460 | 2461 | | |
| 2462 | + | |
| 2463 | + | |
| 2464 | + | |
| 2465 | + | |
| 2466 | + | |
2461 | 2467 | | |
2462 | | - | |
| 2468 | + | |
| 2469 | + | |
| 2470 | + | |
2463 | 2471 | | |
| 2472 | + | |
2464 | 2473 | | |
2465 | 2474 | | |
2466 | 2475 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10655 | 10655 | | |
10656 | 10656 | | |
10657 | 10657 | | |
10658 | | - | |
10659 | | - | |
10660 | | - | |
10661 | 10658 | | |
10662 | | - | |
10663 | | - | |
10664 | 10659 | | |
10665 | 10660 | | |
10666 | 10661 | | |
| |||
0 commit comments