Follow-up from "Resolve "DHCP4_LEASE_REUSE count report in statistic-get-all and similar statistics API calls""
The following discussion from !1983 (merged) should be addressed:
-
@andrei started a discussion: (+4 comments) I noticed that v4 reuses leases for fake allocations too, while v6 doesn't. While the net effect is the same for both fake allocation and lease reuse which is that the lease is not updated in persistent storage, this disparity becomes obvious when looking at the statistics - the v4 statistics have double the value of v6 statistics, which can be confusing. I'd open an issue about it after this one gets reviewed, but I can also fix it in the current issue. It should be just a matter of moving if statements around.