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.
See #78