-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
Milestone
Description
The loop where index handling is incorrect.
Consul Docs
https://www.consul.io/api-docs/features/blocking#implementation-details
Index goes backwards
In rare cases, the index can be returned that is before the last index. In this case, the system can basically miss out on events for either a very long time or forever. This can be pretty damaging if you depend on the consistency of the SD value & the value does not appropriately update.
Index returned is zero
In rare cases the returned index can be zero. In this case the code should backoff and try again to avoid a tight loop.
Reactions are currently unavailable