rollback changes to dispose counts when resource limits reached during RHC update
Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
		
							parent
							
								
									e96a47f3f9
								
							
						
					
					
						commit
						84506b8518
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1276,6 +1276,12 @@ bool dds_rhc_store
 | 
			
		|||
        {
 | 
			
		||||
          DDS_TRACE("(reject)");
 | 
			
		||||
          stored = RHC_REJECTED;
 | 
			
		||||
 | 
			
		||||
          /* FIXME: fix the bad rejection handling, probably put back in a proper rollback, until then a band-aid like this will have to do: */
 | 
			
		||||
          inst->isnew = old_isnew;
 | 
			
		||||
          inst->isdisposed = old_isdisposed;
 | 
			
		||||
          if (old_isdisposed)
 | 
			
		||||
            inst->disposed_gen--;
 | 
			
		||||
          goto error_or_nochange;
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue