4a5293ebba 
					 
					
						
						
							
							Merge branch '2.3' into 2.4  
						
						
						
						
					 
					
						2020-03-02 18:05:11 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						67fee60f80 
					 
					
						
						
							
							Fix Auth Error server status  
						
						... 
						
						
						
						The mon_ping_or_connect_to_db resets the MYSQL handle which caused the
loss of the error message. Returning a new enumeration value for
authentication errors solves this problem. 
						
						
					 
					
						2020-03-02 16:32:35 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8b763fb88b 
					 
					
						
						
							
							Merge branch '2.3' into 2.4  
						
						
						
						
					 
					
						2020-02-12 08:27:48 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cfb3f79b54 
					 
					
						
						
							
							Update 2.3.17 Change Date  
						
						
						
						
					 
					
						2020-02-10 15:28:38 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						75ba527b1c 
					 
					
						
						
							
							Merge branch '2.3' into 2.4  
						
						
						
						
					 
					
						2020-02-10 13:59:30 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ef769573e4 
					 
					
						
						
							
							MXS-2880 Fix typo in json output  
						
						... 
						
						
						
						"seconds_behing_master" -> "seconds_behind_master" 
						
						
					 
					
						2020-02-10 12:59:30 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a7e0142224 
					 
					
						
						
							
							Merge branch '2.3' into 2.4  
						
						
						
						
					 
					
						2020-01-15 11:29:37 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						790d90f229 
					 
					
						
						
							
							Update 2.3.16 Change Date  
						
						
						
						
					 
					
						2020-01-15 11:08:51 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4ae22f9991 
					 
					
						
						
							
							Merge branch '2.3' into 2.4.5  
						
						
						
						
					 
					
						2019-12-19 10:03:35 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a73b183555 
					 
					
						
						
							
							MXS-2813: Mask password values in output  
						
						... 
						
						
						
						The password values are now masked with asterisks. This tells whether a
password is set or not but it does not expose any information about the
password itself. 
						
						
					 
					
						2019-12-19 09:56:00 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a9a2b753c0 
					 
					
						
						
							
							Update 2.4.5 change date  
						
						
						
						
					 
					
						2019-12-18 13:25:03 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f6731a898d 
					 
					
						
						
							
							Update change date  
						
						
						
						
					 
					
						2019-11-13 08:37:17 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fdfbf3e133 
					 
					
						
						
							
							Update 2.4.3 change date  
						
						
						
						
					 
					
						2019-11-05 12:21:00 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						861e27eb00 
					 
					
						
						
							
							Merge branch '2.3' into 2.4  
						
						
						
						
					 
					
						2019-10-29 14:04:31 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						df6c56e7ca 
					 
					
						
						
							
							Update 2.3.13 Change Date  
						
						
						
						
					 
					
						2019-10-29 12:51:31 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ebbd806c6a 
					 
					
						
						
							
							Merge branch '2.3' into 2.4  
						
						
						
						
					 
					
						2019-09-06 10:59:08 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						00feb61b23 
					 
					
						
						
							
							MXS-2652 Do not clear maintenance flag when a server goes down  
						
						... 
						
						
						
						The set of flags to clear should be well-defined. 
						
						
					 
					
						2019-09-06 09:43:32 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e6bf020b9e 
					 
					
						
						
							
							Continue name resolution fixing, add unit test  
						
						... 
						
						
						
						name_lookup() now returns all results given by getnameinfo(). When searching
for a server, finding one matching address in the lookup-results is enough for
a match.
Also, added a test for name_lookup(). The test is minimal on its own, as hardcoded
test cases are not generally valid. 
						
						
					 
					
						2019-08-16 12:52:52 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d4b712ae84 
					 
					
						
						
							
							MXS-2546 Add DNS-resolving to topology detection  
						
						... 
						
						
						
						When matching hostnames between MaxScale server configuration and the
SHOW SLAVE STATUS-output, use DNS-resolution if a simple string comparison
doesn't find an answer. Results of the resolution are saved to avoid
repeating the operation for the same address. 
						
						
					 
					
						2019-07-22 11:10:23 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5df1f2561c 
					 
					
						
						
							
							MXS-2546 Save master server to slave connection object  
						
						... 
						
						
						
						Simplifies later checks and removes duplicate code. The "assume_unique_hostnames"-
setting is no longer required within the MariaDBServer-class. 
						
						
					 
					
						2019-07-19 17:10:10 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2a1925744b 
					 
					
						
						
							
							MXS-2546 Separate slave connection settings to its own class  
						
						... 
						
						
						
						The settings are different from the other fields in that they should not change
on their own. Most manipulation functions only require the settings.
Also takes into use a class for host and port data. 
						
						
					 
					
						2019-07-19 17:00:18 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0257e6e690 
					 
					
						
						
							
							MXS-2546 Remove external master tracking  
						
						... 
						
						
						
						It was only used for logging. 
						
						
					 
					
						2019-07-19 16:39:03 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0ba779d5a2 
					 
					
						
						
							
							Update 2.4.0 Change Date  
						
						
						
						
					 
					
						2019-06-25 10:11:55 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5528a8e8fb 
					 
					
						
						
							
							Merge branch '2.3' into develop  
						
						
						
						
					 
					
						2019-06-19 17:27:57 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						39df829384 
					 
					
						
						
							
							Don't kick out super-users when performing rejoin  
						
						... 
						
						
						
						When rejoining a server, preventing writes is not as essential as in switchover. 
						
						
					 
					
						2019-06-19 17:14:39 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						64d25a48bd 
					 
					
						
						
							
							Merge commit 'a60bd376108f71fccf40001c1496f32c11137fe4' into develop  
						
						
						
						
					 
					
						2019-06-18 15:51:17 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a60bd37610 
					 
					
						
						
							
							MXS-2367 Print slave connection errors when replication fails  
						
						... 
						
						
						
						The slave connection I/O-tread stays running if replication credentials are
wrong when connecting to master. This causes a switchover/failover timeout.
When this happens, print the error in the slave connection status as this
clarifies the problem to the user. 
						
						
					 
					
						2019-06-18 15:02:21 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						648eda9262 
					 
					
						
						
							
							Remove deprecated parameters from MariaDBMon  
						
						... 
						
						
						
						Also deprecates an unused parameter. 
						
						
					 
					
						2019-06-13 14:35:50 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6ee9736803 
					 
					
						
						
							
							Clean up scheduled event handling  
						
						... 
						
						
						
						Removes some duplicated code. 
						
						
					 
					
						2019-06-13 13:19:48 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d0e6921604 
					 
					
						
						
							
							Improve switchover undo when new master fails  
						
						... 
						
						
						
						Now the monitor properly restores the old master by running promotion code on it.
Also, binlog is disabled when enabling server events. 
						
						
					 
					
						2019-06-11 17:15:43 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b49aeae1c8 
					 
					
						
						
							
							Avoid using obsolete functions in reset-replication  
						
						... 
						
						
						
						Removes some duplicate functions. 
						
						
					 
					
						2019-06-10 15:04:25 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4efa9dbeea 
					 
					
						
						
							
							Remove maxscale/alloc.h  
						
						... 
						
						
						
						The remaining contents were moved to maxbase/alloc.h. 
						
						
					 
					
						2019-06-10 14:11:25 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fc9ef715bd 
					 
					
						
						
							
							Move last MariaDB-Monitor settings inside class  
						
						
						
						
					 
					
						2019-06-07 11:42:21 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						926f0057c2 
					 
					
						
						
							
							Move QueryResult-class to a separate file  
						
						... 
						
						
						
						The maxsql/src/mariadb.cc-file contains only general utility functions. 
						
						
					 
					
						2019-06-07 11:32:46 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a82841333d 
					 
					
						
						
							
							Merge branch '2.3' into develop  
						
						
						
						
					 
					
						2019-05-28 10:57:18 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d128c9a09b 
					 
					
						
						
							
							MXS-2504 Kick out super-users from master server during switchover  
						
						... 
						
						
						
						The monitor queries for logged in users with super-privileges and kicks them out to
prevent writes to master. Normal users can stay since their writes are prevented by
read_only. Also, the master-status is removed from the master manually to signal to
routers that no more writes should go to master. 
						
						
					 
					
						2019-05-27 18:11:46 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cf46004bd8 
					 
					
						
						
							
							Make the servers-array in Monitor private  
						
						... 
						
						
						
						This prevents derived classes from modifying the array directly,
which would be unsafe. 
						
						
					 
					
						2019-05-21 10:58:24 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						650230455a 
					 
					
						
						
							
							MXS-2169 Allow unsafe failover when 'enforce_simple_topology' is on  
						
						... 
						
						
						
						If gtid of master is unknown (as is typical when master is down when MaxScale
starts) the domain id is guessed from the slaves instead. This is usually
safe. 
						
						
					 
					
						2019-05-20 10:43:54 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4ee30f5c52 
					 
					
						
						
							
							MXS-2169 Allow a downed server to be selected as topology master  
						
						... 
						
						
						
						This is required for the case when MaxScale is started when the master is
already down. 
						
						
					 
					
						2019-05-17 13:46:33 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d2f3e56d0a 
					 
					
						
						
							
							MXS-2169 Add 'enforce_simple_topology'-setting  
						
						... 
						
						
						
						Does not add any functionality yet. 
						
						
					 
					
						2019-05-17 13:46:33 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c801789ff3 
					 
					
						
						
							
							Cleanup monitor running state  
						
						
						
						
					 
					
						2019-05-17 13:34:48 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						08b4c26652 
					 
					
						
						
							
							Monitor types and fields cleanup  
						
						... 
						
						
						
						Moves some enums to class enums. Moves some free functions to class methods. 
						
						
					 
					
						2019-05-17 13:34:48 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						476dc80bc9 
					 
					
						
						
							
							Move settings shared between MariaDBMonitor and MariaDBServer to container  
						
						... 
						
						
						
						Removes the need to communicate these settings via call parameters. 
						
						
					 
					
						2019-05-10 14:48:41 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d10c7a4140 
					 
					
						
						
							
							Rearrange MariaDB-Monitor settings variables  
						
						... 
						
						
						
						Moves some of the settings to a dedicated container to separate them
from other fields. 
						
						
					 
					
						2019-05-10 14:48:41 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a9b1e3a442 
					 
					
						
						
							
							Move some Monitor fields to private and protected  
						
						... 
						
						
						
						None of the fields should be publicly writable and some should not even
be writable from derived classes. 
						
						
					 
					
						2019-05-10 14:48:41 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						418ccf861d 
					 
					
						
						
							
							Format routers and monitors  
						
						
						
						
					 
					
						2019-05-10 10:31:12 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3d420dee6f 
					 
					
						
						
							
							MXS-2329 Use durations in MariaDB monitor  
						
						
						
						
					 
					
						2019-04-30 13:02:53 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						75c0ac5323 
					 
					
						
						
							
							Move items from MonitorWorker to MonitorWorkerSimple  
						
						... 
						
						
						
						MonitorWorker only enforces the use of a worker thread but otherwise
does not define how the monitor is implemented. 
						
						
					 
					
						2019-04-24 11:27:11 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						067660e3e7 
					 
					
						
						
							
							Merge branch '2.3' into develop  
						
						
						
						
					 
					
						2019-04-16 16:55:12 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2ca9337da1 
					 
					
						
						
							
							Merge branch '2.2' into 2.3  
						
						
						
						
					 
					
						2019-04-16 16:34:57 +03:00