A problem with metadata:FilesystemMetadataProvider
Cantor, Scott
cantor.2 at osu.edu
Mon Aug 11 09:41:30 EDT 2014
On 8/11/14, 9:28 AM, "Marco Malavolti" <marco.malavolti at garr.it> wrote:
>
>I have understood that the "metadata:FileBackedHTTPMetadataProvider"
>works like its brother "metadata:HTTPMetadataProvider", but I have not
>understood why the local/backingFile metadatas isn't come updated when
>it is different from the remote one.
You're hitting a race condition. The code has a design flaw (not quite a
bug) such that it tracks the last time that it *checks* for a new file,
and not the last timestamp of the file it loaded. So what happens is, the
timestamp on the file itself when it changes is older than the last time
the code checked for a new file, and it misses the update. Mine does this
frequently when I use that provider.
-- Scott
More information about the users
mailing list