[MXS-3481] Complete test plan for transaction replay against XPAND Direct Created: 2021-04-05 Updated: 2021-04-19 Resolved: 2021-04-19 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | xpandmon |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Gregory Dorman (Inactive) | Assignee: | Rahul Joshi (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Prologue It is safe to assume that by now MaxScale has these algorithms fully debugged for normal read-write splits. The new and unusual thing about XPAND is that Group Change makes entire cluster inaccessible in a special way. It is worth validating the behaviors empirically. Given that the number of possible permutations is close to infinite, In this project we will select only a number of scenarios, trying to achieve the highest likelihood of overall success. Plan Part 1. Actions on the departing node
Part 2. Actions on the nodes not affected by group change
Note Later on we would try to observe what happens to idle and active sessions and transactions living on a node which crashed and is not coming back when the 10 minutes interval is about to expire (i.e. when an activity is attempted while XPAND is still hoping for the node to come back, and then went into group change). But this is in due time. Let's get the fundamentals verified first. |
| Comments |
| Comment by Manjinder Nijjar [ 2021-04-14 ] | ||||||||||||||||
|
Few notes: Flexdown Scenario: Crash and Restore Scenario: So in short we have these scenarios (for departing node and for remaining cluster):
| ||||||||||||||||
| Comment by Manjinder Nijjar [ 2021-04-16 ] | ||||||||||||||||
|
All scenarios with and without MaxScale are documented here. Maxscale is working fine with transaction replay. We did not find any issues with new version or Maxscale (i.e. 2.5.11). | ||||||||||||||||
| Comment by Manjinder Nijjar [ 2021-04-19 ] | ||||||||||||||||
|
This task is done and documented. |