[MDEV-30978] On slave XA COMMIT/XA ROLLBACK fail to return an error in read-only mode Created: 2023-03-31 Updated: 2023-10-27 Resolved: 2023-07-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication, XA |
| Affects Version/s: | 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11, 11.0, 11.1 |
| Fix Version/s: | 10.5.22, 10.6.15, 10.9.8, 10.10.6, 10.11.5, 11.0.3, 11.1.2 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Pandikrishnan Gurusamy | Assignee: | Brandon Nesterenko |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | server, xa | ||
| Issue Links: |
|
||||
| Description |
|
On slave , Non-super users can able to execute XA COMMIT/XA ROLLBACK. On Master:
On slave:
on Slave:
|
| Comments |
| Comment by Valerii Kravchuk [ 2023-04-04 ] |
|
As far as I can see, the test case (or the basic idea behind it) in the issue Description. |
| Comment by Andrei Elkin [ 2023-05-01 ] |
|
Also see a somewhat related |
| Comment by Brandon Nesterenko [ 2023-06-26 ] |
|
Hi Andrei! This is ready for review as PR-2678. |
| Comment by Brandon Nesterenko [ 2023-07-11 ] |
|
Pushed into 10.5 as 9808ebe19. No merge conflicts/test failures observed through manual cherry picking into 11.2. |