winterhazel opened a new pull request, #12522:
URL: https://github.com/apache/cloudstack/pull/12522

   ### Description
   
   This change allows the batch removal of usage records in order to prevent 
query timeouts when there is a huge amount of records to delete. 
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [X] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   - [ ] Build/CI
   - [ ] Test (unit or integration test code)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [X] Minor
   
   ### Screenshots (if appropriate):
   
   ### How Has This Been Tested?
   
   In a local environment, I enabled batch deletion by setting a value greater 
than 0 to `delete.query.batch.size`, called `removeRawUsageRecords`, and 
debugged to code to validate that the deletion was being correctly performed in 
batches.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to