weixin_39883129 2020-11-29 13:32
浏览 0

Mark, sweep model cache

Description of change

The following commit is just a very rough idea around marking and sweeping values in the model cache in the case that the cache can have old stale items in it.

The problem this fixes is when the watcher restarts, but we have old stale content in the cache. So we should clean up anything that hasn't been updated.

Note this is very rough and I'm awaiting feedback before I can continue on wards.

QA steps

Please replace with how we can verify that the change works?

该提问来源于开源项目:juju/juju

  • 写回答

7条回答 默认 最新

  • weixin_39883129 2020-11-29 13:32
    关注

    https://trello.com/c/NUi64hTl/1248-cache-mark-sweep-thoughts-when-the-all-watcher-restarts

    评论

报告相同问题?