wintoncode / Winton.Extensions.Configuration.Consul

Enables Consul to be used as a configuration source in dotnet core applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ensure we deal with Consul index resets

Choc13 opened this issue · comments

According to the implementation details in the Consul documentation on blocking queries, there are circumstances under which the index can be non-monotonically increasing. We should handle this in the ConsulConfigurationClient by resetting the _lastIndex if the new one we receive is less than current one.