Commit Graph

10447 Commits

Author SHA1 Message Date
4400876b46 Update release date 2019-03-15 11:41:13 +02:00
f9853431ee Simplify maxrows test config
The configuration now uses only one server to prevent replication lag from
affecting the results.
2019-03-14 12:22:25 +02:00
e83555f126 Update release documentation
The update to VERSIONxx.cmake was not documented.
2019-03-13 14:09:00 +02:00
0df7228e5e Add 2.2.20 release notes 2019-03-13 13:57:16 +02:00
e2ac52826a MXS-2375: Provide aliases for [start|stop] maxscale
The `start services` and `stop services` command aliases now map to the
same command as `start maxscale` and `stop maxscale`. This should help
alleviate the confusion that the command naming caused.
2019-03-13 13:40:37 +02:00
84e456eee2 ignore truncate() return in fwf_syntax test 2019-03-13 12:53:12 +02:00
c132125d55 Fix log truncation
Syslog wasn't truncated which caused massive disk space usage when the
full test set was run.
2019-03-11 10:47:44 +02:00
160b4e6e05 MXS-2368: Fix reading of non-tty input
The password input only worked if stdin was a TTY. This was caused by the
fact that the readline-sync library only worked for TTYs.
2019-03-11 10:47:43 +02:00
8a0b6005a4 MXS-2335: Fix lower_case_table_names
The database check always used the case-sensitive SQL to check that the
database exists.
2019-03-05 00:07:13 +02:00
966787e119 do not create or copy repos if build failed 2019-03-04 11:29:38 +02:00
b7bfb08216 Merge branch '2.2' of github.com:mariadb-corporation/MaxScale into 2.2 2019-03-04 10:54:31 +02:00
9ec4557075 create symlink rhel -> centos and do not use real rhel build 2019-03-01 15:13:54 +02:00
0f4e485a1c fix compiler warnings in rds_vpc test 2019-02-27 23:42:15 +02:00
21fc015635 Fix compiler warnings in system tests 2019-02-27 23:15:36 +02:00
cc3dbeeb6c add start and stop VM functions 2019-02-27 22:34:41 +02:00
9de26b6df0 add -DCMAKE_BUILD_TYPE=Debug to run_test_snapshot.sh 2019-02-27 22:22:26 +02:00
b0efcea3f6 Remove vagrant lock from build.sh and run_test.sh (#190)
vagrant_lock was created in order to prevent parallel execution of two 'Vagrant up' operations in parallel. Previously it was necessary due to Vagrant internal Chef issue. Now several bugs in Vagrant are fixed and MDBCI uses own Chef to provision nodes for builds and tests. There is no need to wait for previous Vagrant run finished, removing all waiting from all scripts.
'rm vagrant_lock is still present to remove locks created by previous versions of build and test scripts-
2019-02-25 14:22:32 +02:00
2440b48ccc Mxs 2236 own longtest (#189)
MXS-2236 Add own long test and possibility to run tests under Valgrind

Long test executes INSERT queries, transactions, prepared statements in parallel to create weird load on Maxscale to catch crashes and leaks

Test is not included into ctest scope. Test should be executed manually. For BuildBot (and also for run_test.sh) 'test_set' should be set 'NAME# ./long_test'

Time to run test is defined by 'long_test_time' variable (in seconds)

Possibility to run Maxscale under Valgrind is also added. To run Maxscale under Vaslgrind 'use_valgrind=yes' variable have to be defined
2019-02-22 16:12:57 +02:00
79fd01d4dd Add hintfilter to documentation contents 2019-02-13 13:37:02 +02:00
6f2475b5fa MXS-2302: Document hintfilter behavior
Moved hintfilter documentation to the correct place and cleaned it
up. Added a note at the start of the syntax documentation about the
behavior of the hint parsing to warn users of possible unexpected
behavior. The hint parsing could really use some refactoring to make it
more manageable which is why the preliminary fix version of the bug will
be 2.4.
2019-02-11 03:18:38 +02:00
3c5dd257fd MXS-2311: Test MXS-2311 in mxs827_write_timeout
By repeatedly doing reads instead of one read per second, it is more
likely that MXS-2311 is reproduced. This is still not a deterministic
process but in theory it can reproduce the problem.
2019-02-08 15:03:06 +02:00
46484b4e11 MXS-2311: Write queued packet one at a time
If an ignorable packet was followed by more than one queued packets, they
would all get routed in the same batch. This would cause unexpected
replies from the server if multiple ignorable packets were queued up.
2019-02-08 14:18:41 +02:00
1be845c438 MXS-2322: Fix maxctrl authentication
The username and password are now explicitly passed to request instead of
being added into the URI manually.
2019-02-08 10:01:48 +02:00
994bfcd285 MXS-2268: Fix undefined behavior
Using a void return value as an integer results in undefined behavior.
apparently in this case it doesn't translate into a crash and instead only
manifests itself when all the planets align.
2019-02-07 10:38:38 +02:00
a9f6955fc8 Revert "add systemd-dev package to the build env"
This reverts commit da6d358f9fee7cb7302f082f179c45f581e681d3.
2019-01-31 14:07:52 +02:00
abaa228987 Add extra definitions to debug build service files
The unlimited core dumps are now only enabled for debug builds.
2019-01-31 13:14:46 +02:00
f0abe9cbdc add /bin/sh before prlimit command in service start 2019-01-30 23:31:45 +02:00
45f85a2740 add prlimit command to service start 2019-01-30 18:45:24 +02:00
da6d358f9f add systemd-dev package to the build env 2019-01-29 14:14:46 +02:00
aab7ab7dee add core dump configiration line to maxscale.service 2019-01-29 12:06:33 +02:00
97c0c76321 MXS-2267 Document requirements for an accepted PAM user
The requirements are typical of MaxScale authenticators.
Also, fixes the fallback PAM service.
2019-01-24 16:44:34 +02:00
1e1836354b MXS-2257: Extend password encryption tutorial
Fixed the documentation on the arguments to maxkeys, which is a directory,
and added a short paragraph about alternative key file locations. Also
documented that keys are read from the directory where the `datadir`
parameter points to.
2019-01-16 13:33:14 +02:00
9def07ab4a Document connection_timeout behavior
The fact that a warning is logged was not documented.
2019-01-15 18:42:20 +02:00
bec33be672 Backport to 2.2: Simplify mxs1743_rconn_bitmask
The test now uses maxctrl to count how many connections there are. This
helps avoid creating new users on the database and works around the slave
syncing problems.
2019-01-11 13:13:04 +02:00
9284e8e64c Merge branch '2.2.19' into 2.2 2019-01-11 13:02:05 +02:00
18c57dc6cc Update 2.2.19 release date 2019-01-11 12:58:33 +02:00
4c61b646a4 Wait two intervals in mysqlmon_failover_rejoin_old_slave
The failover process takes at least two intervals to happen. With only a
single wait, it was down to luck whether the test would succeed.
2019-01-11 09:34:06 +02:00
6977828f2d Update maintenance version in 2.2 minor branch 2019-01-10 10:04:20 +02:00
27b3ab28e0 Update 2.2.19 release notes 2019-01-09 09:13:07 +02:00
e64b034334 MXS-2248 Add change that fixes the problem
Any kind of expression is legal after INTERVAL.
2019-01-09 09:11:49 +02:00
a456168fd0 MXS-2248 Add test that reveals problem 2019-01-09 09:11:49 +02:00
d9faea4979 Fix -Wshadow warnings
The cdc_connector.h won't built with -Wshadow if the variable and method
names match.
2019-01-09 09:00:00 +02:00
c0ebf663e3 Make the error message a const char* const
This prevents linker errors if the source files are used directly.
2019-01-09 08:59:49 +02:00
9cba1bdc37 Update release notes 2019-01-08 15:58:20 +02:00
2895f361d9 MXS-2242 Add change that fixes the problem
A whole slew of missing builtin functions were added, not just the
ones directly relevant for MXS-2242.
2019-01-08 15:55:41 +02:00
f94ddadc18 MXS-2242 Add test that reveals problem 2019-01-08 15:55:41 +02:00
8ab5d79025 Merge branch '2.2' into 2.2.19 2019-01-08 15:55:21 +02:00
d569cff98f try to Fix MXS-2206 (#185)
* try to Fix MXS-2206

* use sort -v

* return empty line
2019-01-08 11:58:35 +02:00
2172c4ca85 MXS-2048: Fix dbfwfilter module command documentation
Fixed the command names.
2019-01-06 13:17:32 +02:00
bc346422fb Add minimal CDC client
Added a minimal CDC client application that uses the CDC connector
library. This is mainly intended for manual testing so it is built using
the accompanying Makefile instead of being a part of the CMake system.
2019-01-06 13:05:42 +02:00