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
It looks like #8484 breaks the patch in #8545 by causing the TS_EVENT_HTTP_CACHE_LOOKUP_COMPLETE to fire before some of the revalidation checks are performed.
Notice that the behavior of ATS is still correct: the send_revalidate flag is true. But the TSHttpTxnCacheLookupStatusGet is called before this state is detected, therefore the plugin gets the wrong status flag (fresh instead of a miss).
It looks like with #8484, the need_to_revalidate revalidate function is no longer called before TSHttpTxnCacheLookupStatusGet is called, and thus the cache_hit_but_revalidate flag isn't set yet.
After merging in this PR:
#8545
CI now fails.
This is the sequence of events that led to this:
It looks like #8484 breaks the patch in #8545 by causing the
TS_EVENT_HTTP_CACHE_LOOKUP_COMPLETEto fire before some of the revalidation checks are performed.Here are the logs for a relevant transaction:
Notice that the behavior of ATS is still correct: the send_revalidate flag is true. But the
TSHttpTxnCacheLookupStatusGetis called before this state is detected, therefore the plugin gets the wrong status flag (fresh instead of a miss).It looks like with #8484, the
need_to_revalidaterevalidate function is no longer called beforeTSHttpTxnCacheLookupStatusGetis called, and thus thecache_hit_but_revalidateflag isn't set yet.