Esa Korhonen
c61aaee0ba
MXS-2168 Add documentation on "assume_unique_hostnames"
2018-11-21 10:30:11 +02:00
Esa Korhonen
90da3a4d90
Remove MXS_MONITORED_SERVER mapping from MariaDBMon
...
The mapping was rarely used.
2018-11-21 10:30:11 +02:00
Esa Korhonen
1a046bd453
MXS-2168 Add 'assume_unique_hostnames'-setting to MariaDBMonitor
...
Adds the setting and takes it into use during replication graph creation
and the most important checks.
2018-11-21 10:30:11 +02:00
Johan Wikman
64a9a5135e
Update maintenance version
2018-11-20 19:29:42 +02:00
Johan Wikman
d06d919752
Merge branch '2.3.1' into 2.3
2018-11-20 19:28:18 +02:00
Johan Wikman
ad7c5dd981
Update release date
2018-11-20 19:25:56 +02:00
Markus Mäkelä
fa65881f13
Add explicit installation instructions
...
The packages need to be installed with the correct tools and thus it makes
sense to instruct on the installation in the installation guide.
2018-11-20 16:28:36 +02:00
Esa Korhonen
45eee098d1
MXS-2158 Add test case for rejoining a server with no gtid
2018-11-20 11:28:29 +02:00
Johan Wikman
48eb57bdc5
Merge branch '2.3.1' into 2.3
2018-11-20 11:27:59 +02:00
Markus Mäkelä
c552845fd1
Deprecate old admin modules
...
Added notification messages for the deprecation of the old admin interface
modules. Also added notes into the documentation about their deprecation.
2018-11-20 10:51:49 +02:00
Johan Wikman
e3ad827288
Do not enable the watchdog by default
...
Any administrative operation, performed using maxadmin or maxctrl,
that takes longer than the watchdog timeout will cause MaxScale to
be killed and restarted by the watchdog.
2018-11-20 10:43:59 +02:00
Markus Mäkelä
87e350f171
Remove hard-coded server_id from mysqlmon_failover_stress
...
Dynamically probing the server_id prevents the test from failing if the
server configuration is changed.
2018-11-19 20:19:21 +02:00
Markus Mäkelä
41670875fc
MXS-2146: Add csmon test case
...
Added a test case that does a set of sanity checks on the monitor. As the
monitor is very simple, there are not a lot of things to test without
access to the actual instances (e.g. ExeMgr failures need to be tested).
Currently the test always passes as ColumnStore clusters aren't
implemented for the test framework.
2018-11-19 20:19:21 +02:00
Markus Mäkelä
da1772f8c9
MXS-2146: Add conditional columnstore usage
...
Tests can now declare that they require a columnstore setup. If one is not
present, the test is skipped.
2018-11-19 20:19:18 +02:00
Markus Mäkelä
92b4ed2867
Use explicit paths for bad config location
...
The test_bad_config used implicit locations which aren't very clear. Using
an explicit path, /tmp/, solves all of these problems.
2018-11-19 20:03:22 +02:00
Markus Mäkelä
778623bdfd
Make mysqlmon_failover_manual2 tests faster
...
Removed the sleeps and used wait_for_monitor instead. Also dropped the
table at the end of the test.
2018-11-19 20:03:22 +02:00
Markus Mäkelä
fd3a42ceb6
Remove unnecessary sleeps from tests
...
Removed unnecessary sleeps and replaced sleeps with wait_for_monitor in
some older tests. Also removed the odd arrangement of arrays in
server_weight.
2018-11-19 20:02:13 +02:00
Markus Mäkelä
47092ed18a
Prevent connection double counts in tests
...
The function would count a connection twice if hostname resolution was not
enabled and both the host and the IP matched.
2018-11-19 20:02:13 +02:00
Markus Mäkelä
601c2d6633
Drop databases in connect_to_nonexisting_db
...
The test left undropped databases after itself which caused unnecessary
work with repeated runs. Also removed the somewhat superficial wait at the
start of the test.
2018-11-19 20:02:12 +02:00
Markus Mäkelä
56a0945616
Add install scripts to maxscale-all package
...
The combined package should have the post-install and post-uninstall scripts.
2018-11-19 20:02:12 +02:00
Markus Mäkelä
ba8ec0a2a3
Fix debug assertion in maxavrocheck
...
A debug assertion would be triggered when a message was logged without
initializing the log subsystem.
2018-11-19 20:02:12 +02:00
Markus Mäkelä
9c19a481fc
Rewrite readconnrouter_master test
...
Using server_id values is more reliable and significantly faster. Changed
code to use newer functions and constructs.
2018-11-19 20:02:12 +02:00
Markus Mäkelä
355f34669d
Sanitize log_matches input
...
Given that the pattern is given as an argument quoted with single quotes,
embedded single quotes are a problem. Given that most cases that they are
used for is as parts of natural words like can't or won't. By replacing
the single quotes with wildcard characters, we make sure the input is
formatted correctly while still matching with relatively high accuracy.
2018-11-19 20:02:12 +02:00
Markus Mäkelä
4b6aab1417
Replace check_log_err with log_includes/log_excludes
...
The latter are more explicit and easier to understand at the call site.
Also removed the redundant crash checks via the log files.
2018-11-19 20:02:11 +02:00
Markus Mäkelä
bc8db6d52c
Improve false_monitor_state_change
...
The test uses wait_for_monitor and no longer does the redundant debug
assert check that is covered by the core dump detection.
2018-11-19 20:02:11 +02:00
Markus Mäkelä
d60e97dfa5
Make node startup more robust
...
The connection attempts to all nodes are done over a period of time to
cope with slowly starting servers.
2018-11-19 20:02:11 +02:00
Markus Mäkelä
1f8180b8ee
Use explicit file in mxs722
...
Using an explicit file also checks whether the correct file is used when a
specific file is given as an argument.
2018-11-19 20:02:11 +02:00
Markus Mäkelä
29b3dd0930
Fix prepared_statement
...
The test relied on the master's @@server_id being a specific value.
2018-11-19 20:02:11 +02:00
Markus Mäkelä
14fb142afb
Rewrite maxscale_process_user
...
Changed output format to be more robust and used stack allocated objects
instead of heap allocated ones.
2018-11-19 20:02:10 +02:00
Markus Mäkelä
74ec1e7400
Skip tests that cannot be run
...
If a test requires Galera but it is not available, it is now skipped. All
tests that explicitly use the `test.galera` member as well as all tests
that use a Galera configuration now require that Galera is present.
2018-11-19 20:02:10 +02:00
Markus Mäkelä
11f607de8d
Merge branch '2.2' into 2.3
2018-11-19 18:49:45 +02:00
Johan Wikman
9263c1cf8d
Correct default watchdog timeout from 30 to 60
...
Documentation change.
2018-11-19 09:39:52 +02:00
Markus Mäkelä
37973777d5
MXS-2081: Prevent unwanted stripping of binaries
...
RPM packages by default strip all executables on some systems after
installation. To work around this, the post install part needs to be
prevented. This does not mean the post-install scripts used to create the
directories required by MaxScale.
2018-11-19 09:23:48 +02:00
Markus Mäkelä
32f6408230
Fix Ubuntu Trusty builds
...
The systemd package name is libsystemd-daemon-dev in older versions.
2018-11-16 17:54:50 +02:00
Markus Mäkelä
b00d9a944b
Merge branch '2.3.1' into 2.3
2018-11-16 16:13:02 +02:00
Markus Mäkelä
8b50df1388
Install systemd-devel on SLES also
2018-11-16 16:09:05 +02:00
Markus Mäkelä
21be08f84a
Merge branch '2.3.1' into 2.3
2018-11-16 16:06:09 +02:00
Markus Mäkelä
35b3dd4dd8
Install systemd libraries
...
Install systemd libraries in the install script.
2018-11-16 15:55:01 +02:00
Esa Korhonen
bba0bc0f31
MXS-2158 Relax requirements for manual rejoin
...
The operation is now allowed even if the rejoining server has empty gtid:s.
Auto-rejoin keeps the safeties on.
2018-11-16 13:03:30 +02:00
Esa Korhonen
6a1cfddb43
MXS-2158 Clean up gtid updating during rejoin
...
Error messages from update_gtids() are now printed. can_replicate_from()
no longer updates gtid:s.
2018-11-16 12:56:24 +02:00
Esa Korhonen
715eaf6760
MXS-1598 Explain how monitor measures replication lag
2018-11-16 10:13:16 +02:00
Markus Mäkelä
eac9b86647
MXS-2167: Change expected test outcome
...
The test should now pass as the functionality is implemented. Also added a
temporary workaround to firewall problems.
2018-11-15 14:24:41 +02:00
Markus Mäkelä
cbe1483028
MXS-2167: Add support for extra_port
...
This allows MaxScale to connect to the server even when max_connections
has been reached.
2018-11-15 14:24:41 +02:00
Markus Mäkelä
598edea203
MXS-2167: Add test case
...
Added a test case that reproduces the problem.
2018-11-15 14:24:41 +02:00
Markus Mäkelä
396da06eb8
Move sync_with_stdio into TestConnections constructor
...
This way all tests run with the same configuration.
2018-11-15 14:24:41 +02:00
Markus Mäkelä
29d96662eb
Add missing error message to check_replication
...
The version extraction could fail silently.
2018-11-15 14:24:41 +02:00
Esa Korhonen
4bd8630107
MXS-1598 Add replication lag test cases to mysqlmon_multimaster
...
The delay is added simply with the 'MASTER_DELAY'-option of
the 'CHANGE MASTER TO'-command.
2018-11-15 13:26:38 +02:00
Johan Wikman
9b850cff92
Update changelog and 2.3.1 release notes
2018-11-15 11:05:25 +02:00
Esa Korhonen
52b9cc59d5
MXS-1775 Test automatic switchover
...
Tests low disk space detection and automatic switchover.
2018-11-14 18:17:40 +02:00
Markus Mäkelä
6901d286fe
List increased memory use in upgrading document
...
The 2.3 additions could be perceived as a memory leak so a note in the
upgrading document could be helpful.
2018-11-14 16:23:48 +02:00