DaanHoogland commented on issue #10687:
URL: https://github.com/apache/cloudstack/issues/10687#issuecomment-2808438053

   > Also, I think you may have misunderstood something in my solution by your 
description, so just making sure that we are aligned on this: my changes mark 
existing network usage helper entries for a network as removed whenever a 
CREATE event is processed, independently of there being a DESTROY or not, so 
that two consecutive CREATE events for the same network do not result in 
duplicated usage records being generated.
   > 
   > ****
   
   @winterhazel , I largely agree with your previous remarks, except that as 
you describe above there might be an issue; Older CREATE events shouldn’ t be 
removed but the newer ones should. The network was actually “ created” on the 
first create. It may have to be “implemented” multiple times after that , which 
also lead to CREATE events, but those are not the creation. removing older 
events instead of the newer ones will lead to missed usage data. Make sense?


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