[MDEV-13678] DELETE with CASCADE takes a long time when Galera is enabled Created: 2017-08-30 Updated: 2020-08-25 Resolved: 2017-09-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 10.2.8 |
| Fix Version/s: | 10.2.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | performance | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
After that fix, the operation is still slow when Galera is enabled. When I notified seppo about |
| Comments |
| Comment by Jan Lindström (Inactive) [ 2017-09-13 ] | ||||||||||||||||||||||||||||||
|
After a fix with test case provided on
| ||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2017-09-13 ] | ||||||||||||||||||||||||||||||
|
Ported fix from mysql-wsrep-bugs branch, can't add the actual test case as a https://github.com/MariaDB/server/commits/bb-10.2-MDEV-13678 | ||||||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2017-09-13 ] | ||||||||||||||||||||||||||||||
|
The patch is reintroducing code duplication that was removed in the | ||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2017-09-13 ] | ||||||||||||||||||||||||||||||
|
See above link fixed. | ||||||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2017-09-14 ] | ||||||||||||||||||||||||||||||
|
I would like to see some further reduction of code duplication, and a test that covers this change. | ||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2017-09-18 ] | ||||||||||||||||||||||||||||||
|
commit 16b374b978afaff79aba041ea3d3c2ffe53a739a Use wsrep_must_process_fk function to check if foreign key commit 6a524ca56b2932f38cc4b328abd38aed023b1e8a MW-402 cascading FK issue (5.7 version) Optimizing cascade node list traversal, which could turn out as commit efb673fe5f2b59bc383806e2efb24aa7ab6b81d1 MW-402 cascading FK issues
|