tikv / tikv/pd

TTL config is not consistent with persistent value

Open
#7,405 1 comment 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.