Commit Graph

14673 Commits

Author SHA1 Message Date
4ee7dc7972 Reword --quiet description 2020-06-01 12:26:29 +03:00
d9fdf3adc1 MXS-3013: Add reload service MaxCtrl command
The command currently reloads the users of a service but it can be used to
reload other parts of it as well (e.g. encryption keys).
2020-06-01 12:26:29 +03:00
f013d3ccd9 MXS-3013: Add reload endpoint for services
The endpoint reloads the database users. This can also be used in the
future to refresh encrypted credentials when they are no longer loaded
every time an encrypted password is used.
2020-06-01 12:26:29 +03:00
2e1b0c5ddf MXS-2984: Fix list listeners
Backported the changed from 2.5 to 2.3 and added a test case.
2020-06-01 12:26:26 +03:00
ce437bc779 MXS-3016: Rename --monitors to --monitor
Renamed the option and changed the type to a string argument. The alias
for --monitors still allows old code to use the same format.
2020-06-01 12:26:26 +03:00
0f1f9426c3 MXS-2983: Document list option formats
The options that take lists of objects as arguments did not properly
document the expected format.
2020-06-01 12:26:26 +03:00
c3dff9c60c MXS-3014: Add missing global parameters to REST API
A few global parameters weren't included in the list of parameters. A few
non-parameter values that were in the parameter object were moved out into
the attributes object. Sorted the parameter alphabetically.
2020-05-29 08:32:39 +03:00
e565a6d9b8 Merge branch '2.3' into 2.4 2020-05-28 09:01:49 +03:00
0907e0f0e5 Add BACKEND_SSL VM type
This is needed by tests that use add_test_executable_ex and require
backend SSL. Also fixed a problem in disable_ssl where an empty query was
executed instead of the query itself.
2020-05-27 14:06:51 +03:00
e2642d64b9 MXS-3010: Fix maxkeys and the test
The test doesn't work properly if the maxscale user doesn't exist and the
key file permissions cannot be given to it. The test should use the
current user as the owner of the file but it turned out that the -u option
is broken.

Extended the test case to make sure the same password with the same
encryption key results in the same hash.
2020-05-25 19:45:33 +03:00
6cc16ac16b Document idle session behavior with fail_on_write
The behavior is not very obvious. To prevent excessive numbers of idle
sessions, a idle timeout should be configured.
2020-05-25 10:27:52 +03:00
265a0cb449 MXS-3000: Serialize all global parameters
Not all parameters were serialized to disk.
2020-05-25 10:27:52 +03:00
c211bf1a21 Remove old VERSION.cmake files 2020-05-25 09:06:43 +03:00
136215ecd2 2879: Update Connector-C to 3.1.8
This includes a fix that will return the proper error message even if the
connection fails during reconnection.
2020-05-20 08:12:54 +03:00
62052edbc9 Merge branch '2.3' into 2.4 2020-05-14 09:45:28 +03:00
7c011b4081 MXS-2998: Fix key-value parsing
The code assumed that no value would hold an equals sign which is
wrong. Added a test case that reproduces the problem and verifies the fix.
2020-05-14 09:34:25 +03:00
6bfefdf124 Merge branch '2.3' into 2.4 2020-05-13 13:53:33 +03:00
7b4d26e26a Document prepared statement tmp table limitation
Also moved the transaction replay limitations to the limitations section.
2020-05-13 13:48:22 +03:00
481f6f1aea Add missing operator=(Connection&&)
The move assignment should also be defined if the move construction is
defined.
2020-05-13 13:43:58 +03:00
f5c118d27b Merge branch '2.3' into 2.4 2020-05-13 11:04:18 +03:00
b212117fd3 MXS-2990 Fix the problem, treat ! as not
If '!' is followed by '=' then it is NOT-EQUAL, otherwise it is
just NOT.
2020-05-13 10:38:07 +03:00
9999650bbe MXS-2990 Add test that reveals problem
Had to fix qc_mysqlembedded as well to work with 10.2.
2020-05-13 10:32:39 +03:00
4cc5fa115a Merge branch '2.3' into 2.4 2020-05-11 08:42:02 +03:00
deae315dce Correct PUT /server documentation
The stale state was nonsensical and the drain state was missing.
2020-05-11 08:19:48 +03:00
4f964ad039 Clarify CCRFilter documentation
The example now states that the effects of the filter are only seen by
individual sessions.
2020-05-11 08:19:48 +03:00
73eba01ce9 Fix cluster sync documentation
The MaxScale instance isn't stopped if the synchronization fails. Added
missing documentation for the command argument.
2020-05-11 07:44:57 +03:00
b4108270dc MXS-2982: Fix documetation link in --help output 2020-05-11 07:44:57 +03:00
a2b5a1aba3 MXS-2980: Forward options to the interactive mode
The --quiet option does not make sense in the interactive mode so it isn't
forwarded.

Added code that reports TLS certificate loading errors. The errors
themselves aren't very exact but at least they give a hint as to why it
failed.
2020-05-11 07:44:56 +03:00
0ddee9613b MXS-2981: Treat missing TLS files as an error
Also treats partially defined TLS files as an error.
2020-05-11 07:44:56 +03:00
910cee3538 MXS-2900 Move more monitor tests to dedicated directory
These tests were added in 2.4.
2020-05-04 21:56:13 +03:00
06bd6f1812 Merge branch '2.3' into 2.4 2020-05-04 21:10:51 +03:00
c34b835c51 Build maxbase tests only if BUILD_TESTS in on 2020-04-30 17:55:23 +03:00
20cce59e1b MXS-2976 Reinforce mysqlmon_multimaster test
Compares server states as sets. Stops MaxScale during some cluster
modifications to ensure consistency.
2020-04-30 15:54:57 +03:00
5bc9e0bb0a Merge branch '2.4.9' into 2.4 2020-04-30 11:29:34 +03:00
9ad90caf88 2.4.9 Update release date 2020-04-30 11:24:33 +03:00
324ce467dc 2.4 Update maintenance version 2020-04-29 10:21:53 +03:00
321126660f 2.4.9 Update Change Date 2020-04-29 10:17:14 +03:00
c82f396ebf 2.4.9 Add release notes and update change log 2020-04-29 10:08:19 +03:00
9106392c12 Merge branch '2.3' into 2.4 2020-04-27 15:55:05 +03:00
df01a6e9e0 Merge branch '2.3.19' into 2.3 2020-04-27 15:54:04 +03:00
5b33e03a64 2.3 Update maintenance version 2020-04-27 15:51:46 +03:00
25c5c91fea Update 2.3.19 release date 2020-04-27 15:36:04 +03:00
9a0bcec51c Merge branch '2.3' into 2.4 2020-04-27 10:27:51 +03:00
a38b475e90 Fix add_template
The path to the coniguration file must be an absolute path
(CMAKE_SOURCE_DIR) instead of a relative one
(CMAKE_CURRENT_SOURCE_DIR). This fixes cdc_datatypes.
2020-04-27 10:22:51 +03:00
d3d7054639 Merge branch '2.3' into 2.4 2020-04-24 16:09:20 +03:00
87328228f8 Fix mxs922_monitor
The monitor needs to be unlinked from servers before it is destroyed.
2020-04-24 14:52:23 +03:00
c2b868e8aa Merge branch '2.3' into 2.4 2020-04-23 14:51:11 +03:00
4480debefd MXS-2970: Add test case
Test case reproduces the problem and verifies that it is fixed.
2020-04-23 14:34:38 +03:00
25b8eeb415 MXS-2972: Store servers in the cache key
This allows the set of servers used by the service to also participate in
the cache value resolution. This will prevent the most obvious of problems
but any abstractions of the servers will prevent this from working.
2020-04-23 14:34:38 +03:00
c689aac939 2.3.19 Create release notes and update change log 2020-04-23 14:31:08 +03:00