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

   @winterhazel , I understand all that and I am just talking about the 
`usage_networks` intermediate table because `NETWORK.CREATE`-events are created 
for different events, some of which are not the actual creation (in symmetry 
with `NETWORK.DELETE`),  we are now marking all but the last one as removed. as 
you said 
   
   >  "Usage will mark previous helper entries (not events!) as removed when it 
sees a CREATE event for network, but there are already existing helper entries.”
   
   My point is that it should not. It should consider the oldest one as 
legitimate (for networks!) because of the bug we have that after creation of a 
network more `NETWORK.CREATE`-event-records are created. Only the oldest one is 
legitimate.
   
   I do not know what the consequences for usage are, but we should address 
this creation of events (at least) as well.


-- 
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: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to