fix issue with remove latest when interval is set to from x to x + 1 where x value of ts entry
This commit is contained in:
		
							parent
							
								
									a1bc7533de
								
							
						
					
					
						commit
						935f5b806d
					
				@ -228,7 +228,7 @@ public class SqlTimeseriesLatestDao extends BaseAbstractSqlTimeseriesDao impleme
 | 
			
		||||
 | 
			
		||||
        long ts = latest.getTs();
 | 
			
		||||
        ListenableFuture<Boolean> removedLatestFuture;
 | 
			
		||||
        if (ts > query.getStartTs() && ts <= query.getEndTs()) {
 | 
			
		||||
        if (ts >= query.getStartTs() && ts < query.getEndTs()) {
 | 
			
		||||
            TsKvLatestEntity latestEntity = new TsKvLatestEntity();
 | 
			
		||||
            latestEntity.setEntityId(entityId.getId());
 | 
			
		||||
            latestEntity.setKey(getOrSaveKeyId(query.getKey()));
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user