[MXS-1195] Run the server test-suite through MaxScale Created: 2017-03-21  Updated: 2022-09-09  Resolved: 2022-09-09

Status: Closed
Project: MariaDB MaxScale
Component/s: N/A
Affects Version/s: None
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: Johan Wikman Assignee: Timofey Turenko
Resolution: Won't Do Votes: 0
Labels: None

Sprint: 2017-35, 2017-36, 2017-37, 2017-38, 2017-39, MXS-SPRINT-87, MXS-SPRINT-88

 Comments   
Comment by Timofey Turenko [ 2017-04-19 ]

use single server backend

Comment by Elena Stepanova [ 2022-03-13 ]

Was this task about the MTR test suite?
It would be a very tempting idea, but is it actually possible?
MTR configures the server to run on a certain port and uses the generated config both for the server(s) and the clients. Would it instead need to configure the server run on one port, but the clients connect to another?
Also, MTR doesn't just send queries on a single server, it can run multiple servers, restart them between or during the tests, tamper with data, use both socket and ports. Would it still be possible, and would MaxScale as a middleman be able to keep up with this?

Comment by Johan Wikman [ 2022-03-14 ]

Yes, it was about the MTR test suite. However, I suppose it in practice might have to be a subset of the MTR test suite. Configuring the server to run on one port and clients to connect to another would allow, as far as I can tell, allow MaxScale to be inserted in between. MaxScale should be configured for read-write-splitting (as that stresses more), but then be configured with just a single server. Restarting and manipulating the server behind MaxScale's back should work just fine.

Generated at Thu Feb 08 04:04:55 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.