File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212class RedisPruneService
1313{
1414 // go through all keys in the selected content store
15- // check wether they are reserved keys or currently active or contain one of the currently registered releases ids
15+ // check whether they are reserved keys or currently active or contain one of the currently registered releases ids
1616 // if not: delete
1717 const PRUNE_LUA_SCRIPT = '
1818 local contentStoreCurrent = redis.call("GET", "contentStore:current")
@@ -32,6 +32,7 @@ class RedisPruneService
3232 for index,contentStoreKey in ipairs(contentStoreAllKeys) do
3333 if contentStoreKey ~= "contentStore:current"
3434 and contentStoreKey ~= "contentStore:registeredReleases"
35+ and contentStoreKey ~= "contentStore:configEpoch"
3536 and string.sub(contentStoreKey, 1, string.len(currentContentStoreStart)) ~= currentContentStoreStart
3637 and not table_contains_value(contentStoreRegisteredReleases, contentStoreKey) then
3738 redis.call("DEL", contentStoreKey)
You can’t perform that action at this time.
0 commit comments