Pochatkin commented on PR #5445: URL: https://github.com/apache/ozone/pull/5445#issuecomment-1765929720
@ArafatKhan2198 Hello, thanks for your PR. Did I understand correctly that we cannot distinguish between the two situations. 1. An element was removed from the cache due to time or cache size. 2. The user clearly caused a revoke and was deleted from the cache. If so, then I have a question about your fix. Let's imagine this scenario. 1. The user called a callback and we wrote a value with the isDeleted flag to the cache. 2. As long as this value exists in the cache, we will receive null as a value when trying to read the secret. 3. However, if this value is removed from the cache due to time or cache size, we will again get the situation we were in initially. Am I right? -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
