5043293b97 
					 
					
						
						
							
							Clean up monitor_relations_to_server()  
						
						... 
						
						
						
						Server can only have one monitor. 
						
						
					 
					
						2019-05-28 11:32:23 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a33996ab20 
					 
					
						
						
							
							Remove redundant sort in monitor_relations_to_server  
						
						... 
						
						
						
						Servers can have only one monitor relationship. 
						
						
					 
					
						2019-05-24 18:29:50 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						752aa9de57 
					 
					
						
						
							
							Make lambdas in monitor.cc more readable  
						
						... 
						
						
						
						Putting the function call and the start of the lambda on different lines
keeps the lambda contents less indented. 
						
						
					 
					
						2019-05-24 18:26:51 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						47ebcdcc02 
					 
					
						
						
							
							Sort server relationships  
						
						... 
						
						
						
						As server relationships are unordered, sorting them guarantees a certain
order. This fixes the MaxCtrl cluster diff test failure.
Also formatted monitor.cc sources: the indentation seems to be off. 
						
						
					 
					
						2019-05-24 15:33:17 +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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f86f2c7688 
					 
					
						
						
							
							Move remaining monitor status print functions inside class  
						
						
						
						
					 
					
						2019-05-17 13:31:20 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						884b5ea706 
					 
					
						
						
							
							Change monitor ticks to atomic_long  
						
						... 
						
						
						
						The original atomic_int64_t was not supported on older compilers. 
						
						
					 
					
						2019-05-14 14:02:02 +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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5077ad62df 
					 
					
						
						
							
							Move monitor runtime modification functions to MonitorManager  
						
						... 
						
						
						
						Requires moving some general configuration checking functions to
config.cc. 
						
						
					 
					
						2019-05-10 14:48:41 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6b8ca35408 
					 
					
						
						
							
							Format core source files  
						
						... 
						
						
						
						Formatted core .cc files according to current uncrustify configuration. 
						
						
					 
					
						2019-05-06 16:05:50 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						82b4338eca 
					 
					
						
						
							
							Remove MonitorManager calls from Monitor functions  
						
						... 
						
						
						
						Also adds admin thread checks to MonitorManager functions and combines
anonymous namespaces. 
						
						
					 
					
						2019-04-30 13:45:48 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c4b27cdefc 
					 
					
						
						
							
							Store server->monitor relation in a map  
						
						... 
						
						
						
						Removes the need to iterate through monitor serverlists. Also adds asserts to verify
that monitor modifications are done only from an admin thread. 
						
						
					 
					
						2019-04-30 13:45:48 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fadbc0b1ae 
					 
					
						
						
							
							Separate Monitor management to its own file  
						
						... 
						
						
						
						Allows better separation of file local data. Also allows moving monitor-
related code from config_runtime.cc. 
						
						
					 
					
						2019-04-25 12:32:41 +03:00