You've already forked mariadb-columnstore-engine
							
							
				mirror of
				https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
				synced 2025-11-03 17:13:17 +03:00 
			
		
		
		
	MCOL-455 Add check for system running to prevent mcsadmin crash
This commit is contained in:
		@@ -719,6 +719,11 @@ int processCommand(string* arguments)
 | 
			
		||||
			vector<uint32_t> srcDbroots;    // all of the currently configured dbroots
 | 
			
		||||
			vector<uint32_t> destDbroots;   // srcDbroots - removeDbroots
 | 
			
		||||
			set<int>::iterator dbiter;
 | 
			
		||||
			if (!oam.checkSystemRunning())
 | 
			
		||||
			{
 | 
			
		||||
				cout << "Mariadb ColumnStore is not running" << endl;
 | 
			
		||||
				break;
 | 
			
		||||
			}
 | 
			
		||||
			if (arguments[1] == "start")
 | 
			
		||||
			{
 | 
			
		||||
				// Get a list of all the configured dbroots in the xml file.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user