This project is mirrored from https://gitee.com/mirrors/nomad.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 07 Jul, 2021 1 commit
    • Seth Hoenig's avatar
      consul: avoid extra sync operations when no action required · 421a6a8a
      Seth Hoenig authored
      This PR makes it so the Consul sync logic will ignore operations that
      do not specify an action to take (i.e. [de-]register [services|checks]).
      
      Ideally such noops would be discarded at the callsites (i.e. users
      of [Create|Update|Remove]Workload], but we can also be defensive
      at the commit point.
      
      Also adds 2 trace logging statements which are helpful for diagnosing
      sync operations with Consul - when they happen and why.
      
      Fixes #10797
      421a6a8a