rafaelweingartner commented on issue #2927: server: fix unwanted txn commit 
warning messages
URL: https://github.com/apache/cloudstack/pull/2927#issuecomment-433046018
 
 
   No problem @rhtyd  ;)
   
   My only concern is that if the table “resource_count” is used to control 
user quotas and billing, we might cause some problems with data inconsistency 
there. Therefore, if there are no guarantees regarding its consistency due to 
race condition events, we might end up with an attack vector that can be 
exploited.  For instance, I have fixed a problem some time ago that was 
generating negative values in “resource_count” for volumes and primary storage 
usage data, and that was affecting usage report for users. So, if the same 
values (values from resource_count) are used to control the allocation of 
resources, we could then have a problem where users might be able to exploit a 
breach and deploy way more than they should/could.
   
   We can resume this discussion when you get back.
   Enjoy your long weekend.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to