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

   ### Description
   
   IO write events have been saved in the database using the `usage_type` of 
the `VM_DISK_BYTES_WRITE` type, which causes an inconsistency in the database. 
This behavior has been fixed by this PR. Plus, the old data saved in the 
database has been normalized.
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [x] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [x] Minor
   - [ ] Trivial
   
   
   ### Screenshots (if appropriate):
   
   
   ### How Has This Been Tested?
   It was tested in a local lab:
   
   1. I waited for the job of the Usage plugin to run;
   2. Before, ACS saved the IO write event with the wrong usage_type in the 
database;
   3. Now, ACS saves these events with the right usage_type, and the old events 
are normalized.


-- 
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