bgaborg commented on a change in pull request #1721: HADOOP-16709. Consider
having the ability to turn off TTL in S3Guard …
URL: https://github.com/apache/hadoop/pull/1721#discussion_r349180732
##########
File path:
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3GuardOutOfBandOperations.java
##########
@@ -549,10 +566,16 @@ public void deleteAfterTombstoneExpiryOobCreate() throws
Exception {
guardedFs.delete(filePath, true);
// FILE MUST NOT EXIST IN RAW
- intercept(FileNotFoundException.class, filePath.toString(),
- "This file should throw FNFE when reading through "
- + "the raw fs, and the guarded fs deleted the file.",
- () -> rawFS.getFileStatus(filePath));
+ // If authoritative, the file status can be retrieved
Review comment:
We get a FNFE when we call `guardedFs.getFileStatus(filePath)` if
`authoritative`, but not when we call `rawFS.getFileStatus(filePath)`. Which
means.. deleting is eventual in aws s3? That's not how it supposed to be.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]