Closed andrii-korotkov-verkada closed 1 month ago
See more details about the complex issue that this tries to help with here https://github.com/argoproj/argo-cd/issues/18500.
Seems like this helps a lot! https://github.com/argoproj/gitops-engine/pull/603#issuecomment-2212620560
The testing was misleading and it actually less locking time from faster iterate hierarchy v2 that is a problem solver. A bunch of benchmarking for the lock change shows neutral-to-regression results.
Sometimes it takes a while until Kubernetes event is received or processed. It could be partially related to using locks when processing events. They can be optimized to use read locks sometimes.