If I understood it correctly, it seems like a bug or performance degrade. I filed it here with a pull request: - https://issues.apache.org/jira/browse/JCR-4007
Please take a review. Cheers, Woonsan On Fri, Aug 26, 2016 at 4:48 PM, Woonsan Ko <[email protected]> wrote: > Hi, > > I noticed that CachingDataStore#getRecord() always invokes > #touchInternal(), resulting in touching the file through the backend > whenever getting a record. > I found a related JIRA ticket > (https://issues.apache.org/jira/browse/JCR-3817), described as "It is > because when GC is running lastModified of each record is updated in > S3 which affects the performance." > I'm not familiar with S3, but it sounds like the touching was added to > circumvent an S3 specific issue at the moment. Is it true? > If so, I think we should make it as an option (whether or not to touch > when reading) because we have VFSDataStore now extending > CachingDataStore. When working with WebDAV or SFTP store for instance, > I don't need to touch the file when reading a record. > > How does that sound? > > Kind regards, > > Woonsan
