Merge remote-tracking branch 'origin/topic/awelzel/3540-known-hosts-expire-time'

* origin/topic/awelzel/3540-known-hosts-expire-time:
  Known: Keep &create_expire on local tables/sets valid

(cherry picked from commit 2ce4823c7a)
This commit is contained in:
Arne Welzel 2024-01-11 20:17:45 +01:00 committed by Tim Wojtulewicz
parent af5b6b8c13
commit fb34ab4a52
3 changed files with 6 additions and 6 deletions

View file

@ -121,7 +121,7 @@ event Cluster::node_up(name: string, id: string)
return;
# Drop local suppression cache on workers to force HRW key repartitioning.
Known::hosts = set();
clear_table(Known::hosts);
}
event Cluster::node_down(name: string, id: string)
@ -133,7 +133,7 @@ event Cluster::node_down(name: string, id: string)
return;
# Drop local suppression cache on workers to force HRW key repartitioning.
Known::hosts = set();
clear_table(Known::hosts);
}
event Known::host_found(info: HostsInfo)

View file

@ -187,7 +187,7 @@ event Cluster::node_up(name: string, id: string)
return;
# Drop local suppression cache on workers to force HRW key repartitioning.
Known::services = table();
clear_table(Known::services);
}
event Cluster::node_down(name: string, id: string)
@ -199,7 +199,7 @@ event Cluster::node_down(name: string, id: string)
return;
# Drop local suppression cache on workers to force HRW key repartitioning.
Known::services = table();
clear_table(Known::services);
}
event service_info_commit(info: ServicesInfo)

View file

@ -146,7 +146,7 @@ event Cluster::node_up(name: string, id: string)
return;
# Drop local suppression cache on workers to force HRW key repartitioning.
Known::certs = table();
clear_table(Known::certs);
}
event Cluster::node_down(name: string, id: string)
@ -158,7 +158,7 @@ event Cluster::node_down(name: string, id: string)
return;
# Drop local suppression cache on workers to force HRW key repartitioning.
Known::certs = table();
clear_table(Known::certs);
}
event ssl_established(c: connection) &priority=3