You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On ATS 10.0.2, when pushing content to cache with a full volume, wrap event(s) occur allowing the write to succeed while the content fails to cache. On PUSH, ATS returns Status Code 201, but HEAD request for object returns 504. ATS metrics indicate write success and wrap count is incremented. diags.logs indicate wrap has occurred. Behavior is observed with pinned objects where one would expect write to fail, but also where previous objects have PURGED from cache.
Expected Result: PUSH should fail (non-20X status code) if content is not cached.
Testing was performed with pinned cached objects.
Replication Steps:
configure pinning in cache.config url_regex=.* src_ip=<CLIENT_IP> pin-in-cache=30d
Observe 0 bytes used and 256MB for "bytes_total" to start test
root@3dd966712d75:/tmp# wget --tries=1 --method=HEAD --header="Cache-Control: only-if-cached" http://cache:8081/100mbfile_wHeaders.1
Spider mode enabled. Check if remote file exists.
--2024-11-26 21:59:58-- http://cache:8081/100mbfile_wHeaders.1
Resolving cache (cache)... <ip>
Connecting to cache (cache)|<ip>|:8081... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104857600 (100M)
Remote file exists and could contain further links,
but recursion is disabled -- not retrieving.
root@3dd966712d75:/tmp# wget --tries=1 --method=HEAD --header="Cache-Control: only-if-cached" http://cache:8081/100mbfile_wHeaders.2
Spider mode enabled. Check if remote file exists.
--2024-11-26 22:00:01-- http://cache:8081/100mbfile_wHeaders.2
Resolving cache (cache)... <ip>
Connecting to cache (cache)|<ip>|:8081... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104857600 (100M)
Remote file exists and could contain further links,
but recursion is disabled -- not retrieving.
The steps above show how ATS indicate a successful push and write to cache, but the file was not available.
The expectation is that the PUSH would fail since there is not enough space available due to pinned content.
Next, the pinned content is purged which should allow the third file to be cached, but similar behavior is observed
Purge file one and two and verify HEAD request fails
On ATS 10.0.2, when pushing content to cache with a full volume, wrap event(s) occur allowing the write to succeed while the content fails to cache. On PUSH, ATS returns Status Code 201, but HEAD request for object returns 504. ATS metrics indicate write success and wrap count is incremented. diags.logs indicate wrap has occurred. Behavior is observed with pinned objects where one would expect write to fail, but also where previous objects have PURGED from cache.
Expected Result: PUSH should fail (non-20X status code) if content is not cached.
Testing was performed with pinned cached objects.
Replication Steps:
url_regex=.* src_ip=<CLIENT_IP> pin-in-cache=30d
The steps above show how ATS indicate a successful push and write to cache, but the file was not available.
The expectation is that the PUSH would fail since there is not enough space available due to pinned content.
Next, the pinned content is purged which should allow the third file to be cached, but similar behavior is observed
This shows yet another failure to cache on wrap. Multiple wrap counts are unexpected.
The failure to cache on successful push appears to be isolated to wrap events.
The text was updated successfully, but these errors were encountered: