Johan Wikman
d632c195ff
2.4.19 Update change date
2022-01-04 15:47:38 +02:00
Johan Wikman
2a54224927
2.4.18 Update change date
2021-10-29 08:29:51 +03:00
Markus Mäkelä
b4edc74926
MXS-3609: Use 64-bit integers for statistics
...
This should be enough to avoid the problem of integer overflow in 2.4.
2021-08-31 08:15:02 +03:00
Johan Wikman
a8bfbbe254
2.4.17 Update change date
2021-03-08 09:03:02 +02:00
Johan Wikman
0224f24077
2.4.16 Update Change Date
2021-02-16 14:59:00 +02:00
Johan Wikman
c5bcf7a8b1
2.4.15 Update change date
2021-01-18 15:30:30 +02:00
Johan Wikman
56575882d7
MXS-3301 Rename clustrix -> xpand everywhere
2020-11-19 13:44:06 +02:00
Johan Wikman
df36ef86d0
2.4.14 Update Change Date
2020-11-16 14:23:26 +02:00
Johan Wikman
faaf7f483e
2.4.13 Update Change Date
2020-10-14 09:15:46 +03:00
Johan Wikman
babcda3eca
2.4.12 Update Change Date
2020-08-24 09:42:48 +03:00
Johan Wikman
fc9c9fcd77
2.4.11 Update change date
2020-07-07 10:01:38 +03:00
Johan Wikman
5ebae9be90
Merge branch '2.3' into 2.4
2020-06-05 09:36:24 +03:00
Johan Wikman
aa11c960b1
2.3.20 Update change date
2020-06-05 09:31:45 +03:00
Markus Mäkelä
d3d7054639
Merge branch '2.3' into 2.4
2020-04-24 16:09:20 +03:00
Johan Wikman
f527a8f2e6
2.3.19 Update Change Date
2020-04-23 14:23:57 +03:00
Markus Mäkelä
291d2e987f
Improve charset selection
...
The charset sent in the handshake is now done with the following
priorities:
* First Master server
* Last Slave server
* First Running server or Down server whose charset is known
The change is that server in the Down state to which we've successfully
connected to can also be used as the charset source. This, in addition
with an "empty" default charset, helps avoid the use of the default latin1
charset unless absolutely necessary.
2020-03-12 11:03:04 +02:00
Johan Wikman
d0ab797938
Merge branch '2.3' into 2.4
2020-03-12 10:33:57 +02:00
Johan Wikman
e0cd6adb26
Update change date for 2.3.18
2020-03-10 10:45:47 +02:00
Johan Wikman
8b763fb88b
Merge branch '2.3' into 2.4
2020-02-12 08:27:48 +02:00
Johan Wikman
cfb3f79b54
Update 2.3.17 Change Date
2020-02-10 15:28:38 +02:00
Johan Wikman
a7e0142224
Merge branch '2.3' into 2.4
2020-01-15 11:29:37 +02:00
Johan Wikman
790d90f229
Update 2.3.16 Change Date
2020-01-15 11:08:51 +02:00
Johan Wikman
a9a2b753c0
Update 2.4.5 change date
2019-12-18 13:25:03 +02:00
Johan Wikman
f6731a898d
Update change date
2019-11-13 08:37:17 +02:00
Johan Wikman
fdfbf3e133
Update 2.4.3 change date
2019-11-05 12:21:00 +02:00
Johan Wikman
861e27eb00
Merge branch '2.3' into 2.4
2019-10-29 14:04:31 +02:00
Johan Wikman
df6c56e7ca
Update 2.3.13 Change Date
2019-10-29 12:51:31 +02:00
Johan Wikman
0ba779d5a2
Update 2.4.0 Change Date
2019-06-25 10:11:55 +03:00
Markus Mäkelä
3af66f3309
MXS-2483: Take SSLProvider into use
...
Servers and listeners now have a SSLProvider member variable that is used
for all SSL related tasks.
2019-05-24 15:33:17 +03:00
Markus Mäkelä
8a4b58d52c
MXS-2483: Move SSL configuration into SSLConfig
...
This way the configuration information can be accessed without the
SSLContext.
2019-05-24 15:33:17 +03:00
Markus Mäkelä
4e2d350838
MXS-2483: Return std::unique_ptr from SSLContext::create
...
Smart pointers are far nicer than raw pointers.
2019-05-24 10:05:43 +03:00
Markus Mäkelä
bc500d2565
MXS-2483: Store server SSLContext in unique_ptr
2019-05-24 10:05:42 +03:00
Markus Mäkelä
3b8e28392e
MXS-2483: Make server SSL private
...
The old server_ssl member is now renamed and private. The ssl_context and
set_ssl_context methods provide access to it.
2019-05-24 10:05:42 +03:00
Markus Mäkelä
cab336ed89
MXS-2483: Rename SSL_LISTENER to mxs::SSLContext
2019-05-20 15:45:18 +03:00
Esa Korhonen
a3bb61486d
Move server_set_status and server_clear_status to monitor
...
The operation goes through monitor code so should be in the according file.
2019-05-10 14:37:35 +03:00
Markus Mäkelä
b4e8f79c5f
Format core sources again
...
Formatted with nl_func_type_name and related options set to ignore. This
keeps the formatting intact for long return types in declarations and
definitions.
2019-05-10 09:21:52 +03:00
Markus Mäkelä
6aedcc085f
Remove references to NDB server state
2019-04-24 14:15:56 +03:00
Markus Mäkelä
858327acf7
Rename Being Drained to Draining
...
With this, the words are unique and can be searched for more easily. This
does not fix the test failure of mxs2273_being_drained.
2019-03-28 13:21:24 +02:00
Markus Mäkelä
3eef2648e1
MXS-2313: Expose only two rank values
...
The rank can now only be used to define two groups of servers: primary and
secondary servers. This limits the exposure and reduces the number of
possibilities that can arise from the use of this parameter thus making it
more predictable.
2019-03-18 13:12:59 +02:00
Markus Mäkelä
9b6b5270f1
MXS-2313: Use 64-bit integers to store rank
...
Although the default value is the maximum value of a signed 32-bit
integer, the value is stored as a 64-bit integer. The integer type
conversion functions return 64-bit values so storing it as one makes
sense.
Currently values higher than the default are allowed but the accepted
range of input should be restricted in the future.
2019-03-18 13:12:58 +02:00
Markus Mäkelä
0693514047
MXS-2313: Add server ranks
...
The servers now accept a rank parameter that tells which servers to
prioritize.
2019-03-18 13:10:23 +02:00
Johan Wikman
daf5c6b29c
MXS-2332 When server is drained, report it as such
...
When the SERVER_BEING_DRAINED bit is on, if the number of connections
to the server is 0, the state is reported as "Drained", otherwise as
"Being Drained".
2019-02-19 10:06:37 +02:00
Esa Korhonen
7cb969b0d9
MXS-2271 Clean up server list parsing functions, use in monitor config
...
The functions now return the parsed array.
2019-02-01 14:59:51 +02:00
Johan Wikman
159d9ccba9
MXS-2273 Move constants to more appropriate locations
...
Constants now used in the context of MXS_MONITORED_SERVER or
Monitor are now moved from SERVER to MXS_MONITORED_SERVER or
Monitor, respectively.
2019-01-30 12:16:57 +02:00
Johan Wikman
57a94b417d
MXS-2273 Move maint_request from SERVER to MXS_MONITORED_SERVER
...
The _request_ for setting the status of a server relates to the
monitor and its MXS_MONITORED_SERVER, not to the SERVER itself.
2019-01-30 12:16:57 +02:00
Johan Wikman
1f47e52c7b
MXS-2273 Introduce SERVER_BEING_DRAINED bit
...
With this bit set, existing connections to a server should not be
closed, but no new connections should be created to the server.
The bits have also slight been rearranged.
- Bits 0 - 15 are now reserved for bits applicable to all servers
- Bits 16 - 31 are monitor specific
Further, the cases whether a server can be connected to and whether
it can be used, but be separated.
2019-01-30 12:16:57 +02:00
Esa Korhonen
f559bf3d95
MXS-2271 Move disk space settings to a settings-container
2019-01-24 09:49:53 +02:00
Esa Korhonen
7fb80c530b
Merge branch '2.3' into develop
2019-01-21 14:05:16 +02:00
Esa Korhonen
b0663f0b29
Convert maxscale/ssl.h to .hh
2019-01-15 17:12:32 +02:00
Esa Korhonen
6d296f6661
MXS-2220 Move authenticator instance data to internal class
2019-01-11 11:31:27 +02:00