diff --git a/Classes/Core/RedisPruneService.php b/Classes/Core/RedisPruneService.php index 94f6c49..9cc5e98 100644 --- a/Classes/Core/RedisPruneService.php +++ b/Classes/Core/RedisPruneService.php @@ -12,7 +12,7 @@ class RedisPruneService { // go through all keys in the selected content store - // check wether they are reserved keys or currently active or contain one of the currently registered releases ids + // check whether they are reserved keys or currently active or contain one of the currently registered releases ids // if not: delete const PRUNE_LUA_SCRIPT = ' local contentStoreCurrent = redis.call("GET", "contentStore:current") @@ -32,6 +32,7 @@ class RedisPruneService for index,contentStoreKey in ipairs(contentStoreAllKeys) do if contentStoreKey ~= "contentStore:current" and contentStoreKey ~= "contentStore:registeredReleases" + and contentStoreKey ~= "contentStore:configEpoch" and string.sub(contentStoreKey, 1, string.len(currentContentStoreStart)) ~= currentContentStoreStart and not table_contains_value(contentStoreRegisteredReleases, contentStoreKey) then redis.call("DEL", contentStoreKey)