Comment 3 for bug 1747708

Revision history for this message
Anastasia (anastasia-macmood) wrote :

After further investigations, I do not actually think that the activity you are seeing is related to whether the time on the StatusInfo is a pointer or not, i.e.e the bug I linked is not relevant.

What is relevant is that we do check if the status changed since last time we have set it [1], but seem to update the status regardless [2].

Looking into making sure we do not update the status if nothing but the timestamp changed...

[1]
https://github.com/juju/juju/blob/develop/state/status.go#L351

[2]
https://github.com/juju/juju/blob/develop/state/status.go#L283