A problem with metadata:FilesystemMetadataProvider

Cantor, Scott cantor.2 at osu.edu
Mon Aug 11 10:18:43 EDT 2014


On 8/11/14, 10:12 AM, "Peter Schober" <peter.schober at univie.ac.at> wrote:

>* Marco Malavolti <marco.malavolti at garr.it> [2014-08-11 15:28]:
>>         <!-- Metadata Refresh Period
>>              minRefreshDelay == every 1 minutes
>>              maxRefreshDelay == every 3 minutes -->
>
>Out of curiosity: Did you set these so low in order to reproduce the
>issue more quickly? (You said metadata is signed once a day, so
>checking every other minute or so does not make much sense, of course.)

I didn't even notice the settings, but that practically guarantees you'll
hit the race condition. Every couple of minutes, it's updating the
timestamp in memory, which means you have a much smaller window to hit. In
other words, don't do this.

I hit this problem with a 15 minute or so window, so you're pretty much
ensuring no updates with that.

-- Scott



More information about the users mailing list