mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-09 02:53:09 -05:00
Reconcilers logged "optimistic lock error, retrying" with the full conflict error at Info, and Connector, Recorder and ProxyGroup also put it in their status. That reads like a failure, but a conflict between a cached read and an update is expected and is retried. The reconcilers also returned an empty result, so the retry only happened if a watch event arrived. This fixes this by logging the conflict at Debug as an update conflict, using a neutral status message and requeueing after a short delay. Updates #22074 Updates #18922 Signed-off-by: chaosinthecrd <tom@tmlabs.co.uk>