Page MenuHomePhabricator

Optimisation for revision policies: use DELETE if grace_ttl is 0
Closed, DeclinedPublic

Description

For the latest_hash policy for mobile endpoints we don't really need any grace_ttl, because we don't allow access to a specific render - it's just no needed. So for the revision retention policy with grace_ttl = 0 we can issue a range delete for older renders and avoid setting individual TTLs

Event Timeline

Setting low priority since if the new storage model would not need this optimization, because we're removing the revision retention policies completely.

Pchelolo edited projects, added Services (done); removed Services (next).

We've switched to using default_time_to_live for TTL police, this is no longer valid.