Boris Pavlovic 0ac1571323 
	
	
	Remove race condition (in TaskLog) ... 
			Delete all duplicate rows with same (task_name, host, period_beginning,
period_ending) expect one with the biggest value in `id` column.
Create UC on fields (task_name, host, period_beginning, period_ending)
Replace Select then Insert -> Try to Insert.
blueprint db-unique-keys
Change-Id: I99f45a6de6630482e9c56738f894cc55a37fffaf 
		
	 
		2013-02-18 05:31:02 +04:00 
	 
	
	
	
		 
	
	
		
			
			
			
			
			
			2013-02-14 14:19:39 -08:00 
		 
	
		
			
			
			
			
			
			2013-02-12 01:43:08 +02:00 
		 
	
		
			
			
			
			
			
			2013-01-09 20:43:57 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-14 09:32:47 -08:00 
		 
	
		
			
			
			
			
			
			2013-01-30 18:13:26 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-13 20:55:07 +11:00 
		 
	
		
			
			
			
			
			
			2013-02-09 06:19:26 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-07 13:13:04 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-30 11:58:42 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-18 05:31:02 +04:00 
		 
	
		
			
			
			
			
			
			2013-01-18 09:29:07 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-16 10:19:37 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-09 00:17:51 -05:00 
		 
	
		
			
			
			
			
			
			2013-02-12 01:43:08 +02:00 
		 
	
		
			
			
			
			
			
			2012-12-25 07:56:30 +11:00 
		 
	
		
			
			
			
			
			
			2013-02-10 08:20:44 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-29 12:55:14 -05:00 
		 
	
		
			
			
			
			
			
			2013-02-13 10:32:48 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-13 11:14:57 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-16 10:19:37 +00:00 
		 
	
		
			
			
			
			
			
			2012-12-25 07:56:30 +11:00 
		 
	
		
			
			
			
			
			
			2013-02-13 11:14:57 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-13 11:35:21 -05:00 
		 
	
		
			
			
			
			
			
			2013-02-16 10:39:35 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-18 05:30:51 +04:00 
		 
	
		
			
			
			
			
			
			2012-02-17 18:30:09 +08:00 
		 
	
		
			
			
			
			
			
			2013-02-16 06:18:19 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-04 06:50:06 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-28 21:37:32 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-09 00:17:51 -05:00 
		 
	
		
			
			
			
			
			
			2013-02-06 23:19:13 +00:00 
		 
	
		
			
			
			
			
			
			2012-11-21 11:53:05 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-31 15:06:25 +08:00 
		 
	
		
			
			
			
			
			
			2013-01-28 21:04:35 -05:00 
		 
	
		
			
			
			
			
			
			2013-02-09 06:19:26 +00:00 
		 
	
		
			
			
			
			
			
			2012-12-24 18:08:56 +08:00 
		 
	
		
			
			
			
			
			
			2012-07-30 21:25:01 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-12 23:11:04 -06:00 
		 
	
		
			
			
			
			
			
			2013-02-12 23:11:04 -06:00 
		 
	
		
			
			
			
			
			
			2013-02-14 04:27:29 +00:00