mirror of
				https://github.com/TeaOSLab/EdgeNode.git
				synced 2025-11-04 16:00:25 +08:00 
			
		
		
		
	上传指标数据时忽略不完整数据
This commit is contained in:
		@@ -467,6 +467,9 @@ func (this *KVTask) uploadServerStats(rpcClient *rpc.RPCClient, serverId int64,
 | 
			
		||||
	{
 | 
			
		||||
		sumValue, err := this.sumTable.Get(prefix)
 | 
			
		||||
		if err != nil {
 | 
			
		||||
			if kvstore.IsNotFound(err) {
 | 
			
		||||
				return 0, nil
 | 
			
		||||
			}
 | 
			
		||||
			return 0, err
 | 
			
		||||
		}
 | 
			
		||||
		count, total = DecodeSumValue(sumValue)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user