TTL config is not consistent with persistent value
Open
severity/moderate
type/bug
- Dominant language
- Go
- Stars
- 1.2k
- Forks
- 783
- Avg merge
- 5d 21h
- Merged PRs (30d)
- 36
Description
## Bug Report
We use the lease to persist the TTL config to etcd. But the minimum lease is calculated according to the etcd config. The default value is 5s. But the TTL in memory can be less than it. If the config in memory is expired, if we reload from etcd, it could still take effect.
Contributor guide
Assessment
This issue has not been assessed yet.