ba40916d4a 
					 
					
						
						
							
							MXS-2266: Close prepared statements with internal ID  
						
						 
						
						... 
						
						
						
						The ID used to store the prepared statements uses the internal ID and
using the external ID caused unwanted memory use and a false warning. 
						
						
					 
					
						2019-01-16 12:22:06 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						57fe5ff56a 
					 
					
						
						
							
							Fix error packet stringification function  
						
						 
						
						... 
						
						
						
						The code read past the stack buffer. 
						
						
					 
					
						2019-01-16 09:43:49 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						021d48f94c 
					 
					
						
						
							
							Log low-level reason and idle time on master failure  
						
						 
						
						... 
						
						
						
						If the connection to the master is lost, knowing what type of an error
caused the call to handleError helps deduce what was the real reason for
it. Logging the idle time of the connection helps detect when the
wait_timeout of a connection is exceeded. 
						
						
					 
					
						2019-01-16 09:43:49 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d4674faa7d 
					 
					
						
						
							
							Convert maxscale/query_classifier.h to .hh  
						
						 
						
						... 
						
						
						
						The header was not merged with queryclassifier.hh since the latter
does not include the former. 
						
						
					 
					
						2019-01-15 18:18:39 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6a23015b64 
					 
					
						
						
							
							Convert avro headers to .hh  
						
						 
						
						... 
						
						
						
						Required for converting maxscale/buffer.h. 
						
						
					 
					
						2019-01-15 16:38:10 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						87913f8cb8 
					 
					
						
						
							
							MXS-2220 Miscellaneous cleanup  
						
						 
						
						... 
						
						
						
						Removes some duplicate includes. 
						
						
					 
					
						2019-01-11 11:00:24 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9823fe2651 
					 
					
						
						
							
							MXS-2247 Add support for random number generation to maxutils  
						
						 
						
						... 
						
						
						
						Classes for xorshift and std random. Add a random number generator to Worker. 
						
						
					 
					
						2019-01-10 16:51:32 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7cac2c009d 
					 
					
						
						
							
							Merge branch '2.3' into develop  
						
						 
						
						
						
						
					 
					
						2019-01-10 12:43:46 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9cac927542 
					 
					
						
						
							
							MXS-2220 Move server response calculation functions inside class  
						
						 
						
						
						
						
					 
					
						2019-01-10 10:26:53 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						df17619722 
					 
					
						
						
							
							MXS-2220 Move server_update_address inside class  
						
						 
						
						... 
						
						
						
						Should be moved to internal class once blr is cleaned up. 
						
						
					 
					
						2019-01-10 10:26:53 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						46eddc8102 
					 
					
						
						
							
							Rename ReadConn to RCR  
						
						 
						
						... 
						
						
						
						RCR is more compact and looks neat. 
						
						
					 
					
						2019-01-10 07:16:42 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5613f31bc7 
					 
					
						
						
							
							Clean up readconnroute  
						
						 
						
						... 
						
						
						
						Moved method documentation into the headers and removed the local
variables storing pointers to this. 
						
						
					 
					
						2019-01-10 07:16:42 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d6df5a7d6a 
					 
					
						
						
							
							Use router template in readconnroute  
						
						 
						
						
						
						
					 
					
						2019-01-10 07:15:45 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						54589424f9 
					 
					
						
						
							
							Use more C++ code in readconnroute  
						
						 
						
						... 
						
						
						
						Allocations are now done with new and casts are done using
static_cast. Removed revision history and cleaned up some assertions. 
						
						
					 
					
						2019-01-10 07:12:31 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b30b743455 
					 
					
						
						
							
							Rename readconnroute structures  
						
						 
						
						... 
						
						
						
						Renamed them with the C++ coding style in mind. 
						
						
					 
					
						2019-01-10 07:12:30 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5da833187c 
					 
					
						
						
							
							Rename readconnroute header  
						
						 
						
						... 
						
						
						
						The name now reflects the module and source code name. 
						
						
					 
					
						2019-01-10 07:12:30 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						147f0bb656 
					 
					
						
						
							
							Extend master failure error message  
						
						 
						
						... 
						
						
						
						The error now describes the failure mode in more detail. This should make
post mortem analysis of failed connections a lot easier. 
						
						
					 
					
						2019-01-09 20:05:38 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6ba2cb61df 
					 
					
						
						
							
							MXS-2218 Implement housekeeper in terms of MainWorker  
						
						 
						
						
						
						
					 
					
						2019-01-08 16:01:36 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1c647f3753 
					 
					
						
						
							
							MXS-2220 Move most remaining functions inside class  
						
						 
						
						... 
						
						
						
						Most of the ones still remaining outside are special cases.
Also, removed locking from status manipulation functions as it
has not been required for quite some time. 
						
						
					 
					
						2019-01-08 15:15:34 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d5c78eb31f 
					 
					
						
						
							
							MXS-2220 Move more server functions inside class  
						
						 
						
						
						
						
					 
					
						2019-01-08 15:12:47 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8b53e30678 
					 
					
						
						
							
							MXS-2220 Move server status functions inside class  
						
						 
						
						
						
						
					 
					
						2019-01-08 15:12:47 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						49c1afcb1b 
					 
					
						
						
							
							Merge branch '2.3' into develop  
						
						 
						
						
						
						
					 
					
						2019-01-08 13:17:27 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						63358fb4c1 
					 
					
						
						
							
							Add correct operator to comparison  
						
						 
						
						... 
						
						
						
						The clause had a bitwise AND. The end result is likely the same. 
						
						
					 
					
						2019-01-08 10:18:15 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b16ee3a94e 
					 
					
						
						
							
							MXS-2220 Move server_is_active inside the class  
						
						 
						
						
						
						
					 
					
						2019-01-07 16:10:15 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5f83b07fc2 
					 
					
						
						
							
							MXS-2241: Detect invalid readwritesplit configuration  
						
						 
						
						... 
						
						
						
						master_reconnection and disable_sescmd_history are, in practice, mutually
exclusive settings. 
						
						
					 
					
						2019-01-07 11:06:24 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f0f9c21d1c 
					 
					
						
						
							
							Merge branch '2.3' into develop  
						
						 
						
						
						
						
					 
					
						2019-01-07 10:54:42 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						46bea87ff6 
					 
					
						
						
							
							MXS-2238: Fix reading of large Avro schemas  
						
						 
						
						... 
						
						
						
						The schemas were read incorrectly which resulted in large schemas having
multiple newlines in them. 
						
						
					 
					
						2019-01-06 13:05:42 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ca9c52944b 
					 
					
						
						
							
							MXS-2220 Use std::string for protocol and authenticator fields  
						
						 
						
						
						
						
					 
					
						2019-01-03 12:13:15 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						40485d746c 
					 
					
						
						
							
							MXS-2220 Change server name to constant string  
						
						 
						
						
						
						
					 
					
						2019-01-03 12:13:15 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5fc2c1f49c 
					 
					
						
						
							
							MXS-2220 Store server ports as integers and modify them in methods  
						
						 
						
						
						
						
					 
					
						2019-01-03 12:13:15 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						09aa54720d 
					 
					
						
						
							
							MXS-2220 Read server version using public methods  
						
						 
						
						... 
						
						
						
						Version related fields have been removed from the public class. 
						
						
					 
					
						2019-01-03 11:23:14 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9adbd2f8f0 
					 
					
						
						
							
							Cache the local server statistics object  
						
						 
						
						... 
						
						
						
						By storing the server statistics object in side the session, the lookup
involved in getting a worker-local value is avoided. Since the lookup is
done multiple times for a single query, it is beneficial to store it in
the session.
As the worker-local value is never deleted, it is safe to store a
reference to it in the session. It is also never updated concurrently so
no atomic operations are necessary. 
						
						
					 
					
						2019-01-03 09:37:59 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1fa3b133c7 
					 
					
						
						
							
							Make keepalive ping checks more efficient  
						
						 
						
						... 
						
						
						
						The code now only checks the need for a keepalive ping once every
keepalive interval. Reduced the number of mxs_clock calls to one so that
all servers use the same value. 
						
						
					 
					
						2019-01-03 09:37:59 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						54ae7119cf 
					 
					
						
						
							
							Fix binlogrouter master reconnection  
						
						 
						
						... 
						
						
						
						The reconnection attempt to the master won't work if users aren't loaded
before it. 
						
						
					 
					
						2018-12-31 10:39:57 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4ab25bcd1c 
					 
					
						
						
							
							Fix schemarouter duplicate database detection  
						
						 
						
						... 
						
						
						
						The detection wouldn't work if the database had no tables. 
						
						
					 
					
						2018-12-28 11:33:43 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3b150ad4b2 
					 
					
						
						
							
							Fix binlogrouter use of DCBs  
						
						 
						
						... 
						
						
						
						The dcb_connect function requires that the client DCB has a remote
address. 
						
						
					 
					
						2018-12-28 10:13:24 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4d0a40ef9f 
					 
					
						
						
							
							Add missing pointer initialization  
						
						 
						
						... 
						
						
						
						The change from SRWBackend to RWBackend* had some side effects, namely the
missing automatic initialization into zero values. 
						
						
					 
					
						2018-12-28 08:19:23 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5a9e84d39a 
					 
					
						
						
							
							Merge branch '2.3' into develop  
						
						 
						
						
						
						
					 
					
						2018-12-18 00:00:00 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						35d31801bb 
					 
					
						
						
							
							Merge branch '2.2' into 2.3  
						
						 
						
						
						
						
					 
					
						2018-12-17 23:52:56 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6209d737e9 
					 
					
						
						
							
							MXS-2220 server_alloc returns internal type  
						
						 
						
						... 
						
						
						
						Also adds default initializers to SERVER fields. 
						
						
					 
					
						2018-12-14 10:31:57 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3f81a37e70 
					 
					
						
						
							
							MXS-2220 Move rest of dcb printing functions to private class  
						
						 
						
						
						
						
					 
					
						2018-12-14 10:18:14 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7cf73e0f13 
					 
					
						
						
							
							MXS-2196: Fix use of DCBs in binlogrouter  
						
						 
						
						... 
						
						
						
						The binlogrouter now handles the DCB creation a bit more correctly but it
still breaks a few of the rules. 
						
						
					 
					
						2018-12-13 13:27:45 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						20fe9b9dca 
					 
					
						
						
							
							MXS-2196: Rename session states  
						
						 
						
						... 
						
						
						
						Minor renaming of the session state enum values. Also exposed the session
state stringification function in the public header and removed the
stringification macro. 
						
						
					 
					
						2018-12-13 13:27:45 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						84e8efceca 
					 
					
						
						
							
							MXS-2220 Use private server class in runtime alter commands  
						
						 
						
						... 
						
						
						
						This only affects commands started from MaxAdmin. 
						
						
					 
					
						2018-12-12 16:06:08 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1ad4b339dc 
					 
					
						
						
							
							MXS-2025 Make variables that should be private private  
						
						 
						
						
						
						
					 
					
						2018-12-11 15:11:25 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						48efa6d027 
					 
					
						
						
							
							MXS-2213: Clear stored PS information  
						
						 
						
						... 
						
						
						
						The information stored for each prepared statement would not be cleared
until the end of the session. This is a problem if the sessions last for a
very long time as the stored information is unused once a COM_STMT_CLOSE
has been received.
In addition to this, the session command response maps were not cleared
correctly if all backends had processed all session commands. 
						
						
					 
					
						2018-12-11 13:54:10 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e979a73cc0 
					 
					
						
						
							
							Remove the STRSRVSTATUS macro  
						
						 
						
						... 
						
						
						
						Use server_status() instead. 
						
						
					 
					
						2018-12-10 15:55:07 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						08ed764675 
					 
					
						
						
							
							MXS-2197 Rename all .h files under server to .hh  
						
						 
						
						
						
						
					 
					
						2018-12-10 13:07:23 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0927a0b938 
					 
					
						
						
							
							MXS-2197 Remove most includes of maxscale/log.hh  
						
						 
						
						... 
						
						
						
						All cc-files should include maxscale/ccdefs.hh, which includes
maxscale/log.hh. Consequently it need not be included again. 
						
						
					 
					
						2018-12-10 13:07:23 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						dc8c2f27f7 
					 
					
						
						
							
							MXS-2197 Rename all module include files from .h to .hh  
						
						 
						
						
						
						
					 
					
						2018-12-10 13:00:46 +02:00