Its an interesting problem, we did encounter this many times. I think it is a good time to do some enhancement in Icehouse.
Not only cpu and memory, but disk also have such issue.
A possbile solution was that add some new fields in DB to record the cpu/memory/disk that have been multipled by allocation ratio, but not update vcpus/memory_mb/free_disk_gb directly.
I think that it might be better to log a blueprint to trace this, as this is more like to be a feature
Its an interesting problem, we did encounter this many times. I think it is a good time to do some enhancement in Icehouse.
Not only cpu and memory, but disk also have such issue.
A possbile solution was that add some new fields in DB to record the cpu/memory/disk that have been multipled by allocation ratio, but not update vcpus/memory_ mb/free_ disk_gb directly.
I think that it might be better to log a blueprint to trace this, as this is more like to be a feature