net/probes: Certificate expiry cannot advance on reload #16840
Labels
area/metrics
area/net
Networking and RPC
kind/bug
Something isn't working
sev/medium
Bugs that do not meet criteria for high or critical, but are more severe than low.
Version & Environment
Redpanda version: v23.3.1+
What went wrong?
Reloading a certificate doesn't advance the expiry time.
What should have happened instead?
Metric should update to the new expiry.
How to reproduce the issue?
Fix the code
_cert_expiry_time
and_ca_expiry_time
should be reset near the beginning, but it should also be fail safe, so the instinctive choice of setting it totime_point::max()
is probably not ideal.The text was updated successfully, but these errors were encountered: