This is an automated email from the ASF dual-hosted git repository.
siyao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 44be763 HDDS-5358. Incorrect cache entry invalidation causes
intermittent failure in testGetS3SecretAndRevokeS3Secret (#2518)
44be763 is described below
commit 44be76379acfc2394c04a95cf1e679b7c54e9f64
Author: Neil Joshi <[email protected]>
AuthorDate: Wed Aug 11 17:50:28 2021 -0600
HDDS-5358. Incorrect cache entry invalidation causes intermittent failure
in testGetS3SecretAndRevokeS3Secret (#2518)
---
.../hadoop/ozone/om/request/s3/security/S3RevokeSecretRequest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/s3/security/S3RevokeSecretRequest.java
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/s3/security/S3RevokeSecretRequest.java
index 154f76d..b61e70a 100644
---
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/s3/security/S3RevokeSecretRequest.java
+++
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/s3/security/S3RevokeSecretRequest.java
@@ -113,7 +113,7 @@ public class S3RevokeSecretRequest extends OMClientRequest {
// Remove if entry exists in table
if (omMetadataManager.getS3SecretTable().isExist(kerberosID)) {
// Invalid entry in table cache immediately
- omMetadataManager.getKeyTable().addCacheEntry(
+ omMetadataManager.getS3SecretTable().addCacheEntry(
new CacheKey<>(kerberosID),
new CacheValue<>(Optional.absent(), transactionLogIndex));
omClientResponse = new S3RevokeSecretResponse(kerberosID,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]