Azure / azure-diagnostics-tools

Plugins and tools for collecting, processing, managing, and visualizing diagnostics data and configuration
98 stars 92 forks source link

Infinite lease on registry file not working #190

Open camilisette opened 5 years ago

camilisette commented 5 years ago

I'm getting an error that lease expired

@description: "A lease ID was specified, but the lease for the blob has expired.\nRequestId:d5630587-601e-0054-4bdb-cac923000000\nTime:2019-02-22T18:24:57.4849337Z", @type: "LeaseLost"

To ensure that lease doesn't expire, i tried to change registry_lease_duration to -1.

config :registry_lease_duration, :validate => :number, :default => -1

Even after doing so, I am still getting the same lease expired error. Doesn't infinite mean that it shouldn't expire? Why doesn't a registry.lock file get created?

After modifying azureblob.rb, I restarted logstash. Is there a step that I'm missing?