1. 31 Aug, 2018 3 commits
    • Tim Wickberg's avatar
      Change to a responding bool instead of response_time time_t value. · c15be2f2
      Tim Wickberg authored
      The handling for response_time was a bit odd, as care was needed to make
      the timestamp values match up. Meaning they're not really time values,
      just a complicated way of signaling whether the remote controller is
      responding. So, simplify this by just indicating through a bool whether
      a given controller is responding or not.
      
      Bug 5256.
      c15be2f2
    • Tim Wickberg's avatar
      Make active_controller argument to ping_controllers() work. · 443b3e27
      Tim Wickberg authored
      If true, ping everyone except outselves. If false, continue to ping
      only the higher priority controllers.
      
      Also move the ctld_ping xmalloc and xfree in here so we don't need
      to recreate them in the controller code later.
      
      Bug 5256.
      443b3e27
    • Tim Wickberg's avatar
      Change signature in backup.c to extern for (renamed) ping_controllers(). · c5d16f23
      Tim Wickberg authored
      Both the primary and backup need to provide similar ping capabilities.
      This implementation - with multiple threads launched in parallel - is
      the more advanced one, so start reworking it to be able to use it in
      the primary controller as well instead of _ping_backup_controller().
      
      Add a boolean option to indicate whether this is running in the active
      controller or the backup. This will control whether all other controllers
      are pinged (needed by the primary) or only the higher priority controllers
      (as done in the backups).
      
      Bug 5256.
      c5d16f23
  2. 30 Aug, 2018 16 commits
  3. 29 Aug, 2018 20 commits
  4. 28 Aug, 2018 1 commit