traeak commented on code in PR #13611:
URL: https://github.com/apache/trafficserver/pull/13611#discussion_r3958247411
##########
include/proxy/http/HttpSM.h:
##########
@@ -344,6 +341,21 @@ class HttpSM : public Continuation, public
PluginUserArgs<TS_USER_ARGS_TXN>
void set_http_schedule(Continuation *);
int get_http_schedule(int event, void *data);
+ static CacheHTTPInfo *
+ cache_write_info_for_lookup(CompatibilityCacheLookup lookup, CacheHTTPInfo
*object_read_info)
+ {
+ if (lookup == CompatibilityCacheLookup::COMPAT_CACHE_LOOKUP_92) {
+ return nullptr;
+ }
+ return object_read_info;
+ }
Review Comment:
takne
##########
tests/gold_tests/cache/compat-cache-key.test.py:
##########
@@ -0,0 +1,23 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+Test.Summary = '''
+Verify proxy.config.http.cache.try_compat_key_read: objects stored under the
+ATS 9.2 cache key are found, revalidated without conditional headers, migrated
+to the current key, and then dropped from the legacy key.
+'''
Review Comment:
taken
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]