steveloughran commented on a change in pull request #802: HADOOP-16279.
S3Guard: Implement time-based (TTL) expiry for entries …
URL: https://github.com/apache/hadoop/pull/802#discussion_r289521768
##########
File path:
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/s3guard/DynamoDBMetadataStore.java
##########
@@ -486,10 +486,12 @@ public void forgetMetadata(Path path) throws IOException
{
* There is no check as to whether the entry exists in the table first.
* @param path path to delete
* @param tombstone flag to create a tombstone marker
+ * @param ttlTimeProvider
* @throws IOException I/O error.
*/
@Retries.RetryTranslated
- private void innerDelete(final Path path, boolean tombstone)
+ private void innerDelete(final Path path, boolean tombstone,
Review comment:
do you think we should check for an entry here at all? I was wondering if it
is superflious, but now I think "we really do need it"
----------------------------------------------------------------
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]