Revolyssup commented on PR #12413:
URL: https://github.com/apache/apisix/pull/12413#issuecomment-3052267132

   > * change is backward compatible (If not, please discuss on the [APISIX 
mailing list](https://github.com/apache/apisix/tree/master#community) first)
   
   As this comment explains 
https://github.com/apache/apisix/pull/11840/files#r2193898420
   The `version` being used in the cache was that of credential modified index. 
This means until the credential is modified, we will use stale value from 
cache. 
   But in the scenario, where the underlying consumer has been modified, we 
need to recalculate and not use the old value. Therefore in my changes, I have 
used `credential.modified..consumer.modified` as the version, so that even when 
underlying consumer changes, a resync is triggered.


-- 
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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to